Jump to content

My client scripts and GUI are shared among all players!


Recommended Posts

Posted

This is driving me nuts!

Finished creating an admin panel, and it works perfectly, tried to test it with teammates, and it got all fucked up, results are doubled, whenever someone presses a button, results show for everyone, event though it's a client side script, the server side script includes dbExec stuff, any ideas??

Posted

Forget about the sourceElement/attachedElement, the more important parameter is the sendTo one. You need to specify who the event triggers for. The default value is root so it triggers for everyone.

Posted
Forget about the sourceElement/attachedElement, the more important parameter is the sendTo one. You need to specify who the event triggers for. The default value is root so it triggers for everyone.

A big fat thanks :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...