Send client event for everyone


Hello everyone, is it possible to send a client event for everyone on the server, when a client do an action ? By example press a key ? It would help me to update a table server side for everyone , thank you :grinning:


Use -1 as the client ID.
TriggerClientEvent('eventName', -1)


Oh ok ! Thank you very much, I love you again Salty <3 <3


And I said it again, if you want my unique script in ESX that I made, I will give u this one :wink:


itโ€™s a realistic weed system :slight_smile:


Appreciate it. Iโ€™ve actually coded my own drug harvesting mod as well :slight_smile: Good luck with the server build!