xScatta Posted October 14, 2013 Share Posted October 14, 2013 (edited) Hey guys code here. Problem below. SERVER SIDE: CODE REMOVED CLIENT SIDE: CODE REMOVED The problem is when i click the button "addAllButton" the function attached run but the command is not executed and nothing happens i dont know the problem no messages in debugscript Help. Edited October 17, 2013 by Guest Link to comment
pa3ck Posted October 14, 2013 Share Posted October 14, 2013 I looked tru your code but I can't figure what's this for: if ( button == "left" ) Did you mean this? : if (source == "nameOfButton") Link to comment
TAPL Posted October 14, 2013 Share Posted October 14, 2013 You can't execute server side commands from client side and verse vice. Link to comment
xXMADEXx Posted October 14, 2013 Share Posted October 14, 2013 Use: triggerServerEvent triggerClientEvent 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