Events
Client
Duty Update
RegisterNetEvent('red_admin:updateOnDuty', function(dutyValue)
-- your code here
end)
Server
Duty Update
RegisterNetEvent('red_admin:onduty', function(playerId, dutyValue)
-- Your code here
end)
Kick
RegisterNetEvent('red_admin:onPlayerKick', function(playerIdentifier, reason, kickerIdentifier)
-- Your code here
end)
Ban
RegisterNetEvent('red_admin:onPlayerBan', function(playerIdentifier, reason, time, bannerIdentifier)
-- Your code here
end)
Vehicle Spawned
RegisterNetEvent('red_admin:vehicle:spawned', function(playerSrc, plate, model, vehicleEntity)
-- Your code here
-- For Wasabi carlock: exports.wasabi_carlock:GiveKey(playerSrc, plate)
end)