-
Notifications
You must be signed in to change notification settings - Fork 37
/
config.lua
36 lines (32 loc) · 2.26 KB
/
config.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
Config = {}
Config.Healing = 3 -- // If this is 0, then its disabled.. Default: 3.. That means, if a person lies in a bed, then he will get 1 health every 3 seconds.
Config.objects = {
ButtonToSitOnChair = 58, -- // Default: G -- // https://docs.fivem.net/game-references/controls/
ButtonToLayOnBed = 38, -- // Default: E -- // https://docs.fivem.net/game-references/controls/
ButtonToStandUp = 23, -- // Default: F -- // https://docs.fivem.net/game-references/controls/
SitAnimation = {anim='PROP_HUMAN_SEAT_CHAIR_MP_PLAYER'},
BedBackAnimation = {dict='anim@gangops@morgue@table@', anim='ko_front'},
BedStomachAnimation = {anim='WORLD_HUMAN_SUNBATHE'},
BedSitAnimation = {anim='WORLD_HUMAN_PICNIC'},
locations = {
{object="v_med_bed2", verticalOffsetX=0.0, verticalOffsetY=0.0, verticalOffsetZ=-1.4, direction=0.0, bed=true},
{object="v_serv_ct_chair02", verticalOffsetX=0.0, verticalOffsetY=0.0, verticalOffsetZ=-0.0, direction=168.0, bed=false},
{object="prop_off_chair_04", verticalOffsetX=0.0, verticalOffsetY=0.0, verticalOffsetZ=-0.4, direction=168.0, bed=false},
{object="prop_off_chair_03", verticalOffsetX=0.0, verticalOffsetY=0.0, verticalOffsetZ=-0.4, direction=168.0, bed=false},
{object="prop_off_chair_05", verticalOffsetX=0.0, verticalOffsetY=0.0, verticalOffsetZ=-0.4, direction=168.0, bed=false},
{object="v_club_officechair", verticalOffsetX=0.0, verticalOffsetY=0.0, verticalOffsetZ=-0.4, direction=168.0, bed=false},
{object="v_ilev_leath_chr", verticalOffsetX=0.0, verticalOffsetY=0.0, verticalOffsetZ=-0.4, direction=168.0, bed=false},
{object="v_corp_offchair", verticalOffsetX=0.0, verticalOffsetY=0.0, verticalOffsetZ=-0.4, direction=168.0, bed=false},
{object="v_med_emptybed", verticalOffsetX=0.0, verticalOffsetY=0.13, verticalOffsetZ=-0.2, direction=90.0, bed=false},
{object="Prop_Off_Chair_01", verticalOffsetX=0.0, verticalOffsetY=-0.1, verticalOffsetZ=-0.5, direction=180.0, bed=false}
}
}
-- // YOU WILL FIND ALL BUTTONS HERE FOR CODE BELOW;P
-- [[ https://docs.fivem.net/game-references/controls/ ]]
Config.Text = {
SitOnChair = '~r~G~w~ to sit',
SitOnBed = '~r~E~w~ to sit on the bed',
LieOnBed = '~r~E~w~ to lay on your',
SwitchBetween = 'Switch between with ~r~Arrow left~w~ and ~r~arrow right~w~',
Standup = '~r~F~w~ to stand up!',
}