kasya85 Posted July 21, 2017 Share Posted July 21, 2017 createEffect function is a client-side function and will be visible only for the player but example i wanna that an effect (attached to a player) will be visible for everyone. how can i do this? Link to comment
DonOmar Posted July 21, 2017 Share Posted July 21, 2017 You can use addEvent in the client side and triggerClientEvent in the serverside. Link to comment
_DrXenon Posted July 21, 2017 Share Posted July 21, 2017 TriggerClientEvent(root,"name",...) ^ this way you send it to everyone. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now