⚙️Others
If you are using NPC Dialog
{
ped = 'csb_burgerdrug',
anim = 'CODE_HUMAN_MEDIC_TIME_OF_DEATH',
coords = vector4(-504.14, -697.66, 32.67, 291.65),
job = "all", -- { ["police"] = 0, ["ambulance"] = 0} if you are using target
gang = "all", -- { ["ballas"] = 2, ["thelostmc"] = 0} if you are using target
groups = "all", -- { ["police"] = 2, ["ambulance"] = 0} if you are using intearaction
firstname = 'MITCH',
lastname = 'BUN',
rep = 0,
mission = 'Snr Bun Worker',
text = 'Hey there, I do not think we have crossed paths before. I am Mitch, and I am in charge of the Snr Buns. You thinking about joining our crew ?',
buttons = {
{
text = 'Sign in/out',
shop =false,
rep = 0,
action= {
isServer= true,
event= 'zat-snrbuns:server:ToggleSingin',
data= 1
},
canInteract = CanToggleSignIn(),
},
{
text = 'Work Clothes',
shop =false,
rep = 0,
action= {
isServer= false,
event= 'zat-snrbuns:client:Clothes',
data= {}
},
canInteract = true
},
{
text = 'Leave Conversation',
shop =false,
rep = 0,
action= {
isServer= false,
event= 'zat-dialog:client:HideUi',
data= {}
},
canInteract = true
},
},
items={}
},
Last updated