xScatta Posted October 14, 2013 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 It's fine to celebrate success but it is more important to heed the lessons of failure.
xScatta Posted October 14, 2013 Author Posted October 14, 2013 *BUMP* It's fine to celebrate success but it is more important to heed the lessons of failure.
pa3ck Posted October 14, 2013 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")
TAPL Posted October 14, 2013 Posted October 14, 2013 You can't execute server side commands from client side and verse vice.
xXMADEXx Posted October 14, 2013 Posted October 14, 2013 Use: triggerServerEvent triggerClientEvent The Ultimate Lua Tutorial! | MTA PHP SDK
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