Theft Configuration
Do you want the theft section of your interaction tablet to work correctly? Follow these steps.
Parameters Explained
TriggerServerEvent("jc_robos:iniciarRobo", roboId, roboNombre, orgLabel)
-- Example
RegisterCommand("starrobo", function()
local roboId = 8
local roboNombre = "badu_central"
exports['jc_organizaciones']:GetOrgLabel(function(orgLabel)
if not orgLabel then
print("No perteneces a ninguna organización.")
return
end
TriggerServerEvent("jc_robos:iniciarRobo", roboId, roboNombre, orgLabel)
print("Has iniciado el robo de prueba: "..roboNombre.." (Org: "..orgLabel..")")
end)
end, false)Last updated