πRobbery Events
Docs for some Robbery Events
Here is the official documentation for some Robbery Events
Check if Robbery is Active
THIS IS CLIENT SIDE
local data = {
robberyindex = 0, -- this is the index of the robbery
}
TriggerEvent(resource..":CheckRobberyActivity_c",data,function(status)
if status == true then
print("Robbery is Active")
else
print("Robbery is Non Active")
end
end)
---------------------------------------------------------------//---------------------------------------------------------------
THIS IS SERVER SIDE
local data = {
robberyindex = 0, -- this is the index of the robbery
}
TriggerEvent(resource..":CheckRobberyActivity_s",data,function(status)
if status == true then
print("Robbery is Active")
else
print("Robbery is Non Active")
end
end)Check if Robbery is Disabled
Enable or Disable Robbery
Last updated