-ffs-AbodyRulez Posted August 24, 2015 Share Posted August 24, 2015 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?? Link to comment
Dealman Posted August 24, 2015 Share Posted August 24, 2015 (edited) With most likeliness you're using triggerClientEvent wrong. Thus it triggers for all player elements currently on the server. Edited August 24, 2015 by Guest Link to comment
-ffs-AbodyRulez Posted August 24, 2015 Author Share Posted August 24, 2015 With most likeliness you're using triggerClientEvent wrong. This it triggers for all player elements currently on the server. MARRY ME . QUICK <3 <3 Link to comment
-ffs-AbodyRulez Posted August 24, 2015 Author Share Posted August 24, 2015 Crap.. you did told me where my problem is, but i can't seem to fix it.. the "attachedElement" part is a damn mystery, that can be found in triggerServerEvent/triggerClientEvent/addEventHandler Link to comment
Dealman Posted August 24, 2015 Share Posted August 24, 2015 How are you using triggerClientEvent? Link to comment
JR10 Posted August 24, 2015 Share Posted August 24, 2015 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. Link to comment
-ffs-AbodyRulez Posted August 25, 2015 Author Share Posted August 25, 2015 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 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