I have started to create a duty system for my server, the basic idea of it would be to show you on duty as a cop, sheriff deputy, etc but not be targeted by the ai and also allow them to help you via a /backup command. The command im currently working on is the /duty command but im stumped at TriggerClientEvent.
here is what i have so far in the server
command = stringsplit(fullcommand, “”)
if(command == “/duty”) then
if anyone could make any suggestions on how to proceed from there it would be much appreciated. .