-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathcfg.lua
48 lines (39 loc) · 1.75 KB
/
cfg.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---Config with all global variables
cfg = {
commandName = 'emotePanel', -- Open the animations panel
commandSuggestion = 'Open the emote panel', -- Open the animations panel suggestion
commandNameEmote = 'e', -- Play an animation by command
commandNameSuggestion = 'Play an animation by command', -- Play an animation by command suggestion
keyActive = false, -- Use key for opening the panel
keyLetter = 'F5', -- Which key for opening the panel if cfg.keyActive is true
keySuggestion = 'Open the emote panel by key', -- Suggestion on keybind mapping
walkingTransition = 0.5,
acceptKey = 38, -- Accept key for shared anim
denyKey = 182, -- Deny key for shared anim
waitBeforeWalk = 5000, -- Wait before setting back walking style (If someone has a better method pls make a pull request because multichars are a pain in the ass)
-- Do not touch
useTnotify = GetResourceState('t-notify') == 'started',
panelStatus = false,
animActive = false,
animDuration = 1500, -- You can change this but I recommend not to.
animLoop = false,
animMovement = false,
animDisableMovement = false,
animDisableLoop = false,
sceneActive = false,
propActive = false,
propsEntities = {},
ptfxOwner = false,
ptfxActive = false,
ptfxEntities = {},
ptfxEntitiesTwo = {},
malePeds = {
"mp_m_freemode_01"
},
sharedActive = false,
cancelKey = 73, -- Default key for cancelling an animation. Users can change this manually too.
defaultCommand = 'fav', -- Emote command execution
defaultEmote = 'dance', -- Default emote by default
defaultEmoteUseKey = true, -- Don't recommend setting this to false unless you change UI
defaultEmoteKey = 20 -- Default emote command key
}