Help with making a script

Hey, so I am trying to make a script. I want this script to send a notification to anyone on duty (PoliceEMSActivity). So if they do /duty, their onDuty variable is set to true, how can I make it so only ONDUTY officers get the “test” message?

my 911 script client

my 911 script server

PoliceEMSActivity script server

PoliceEMSActivity fxmanifest.lua file

Hey, you can do this all on serverside, no need for events.

Thanks so much!

1 Like