Castillo Posted October 24, 2011 Posted October 24, 2011 Is this resource in acl.xml group admin? executeCommandHandler requires it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
adward Posted October 24, 2011 Author Posted October 24, 2011 yes i add in acl group admin but not work
adward Posted October 24, 2011 Author Posted October 24, 2011 this work addEventHandler("onClientGUIClick",root, function () if (source == GUIEditor_Button[1]) then triggerServerEvent("executeACommand",localPlayer,localPlayer,"20") elseif (source == GUIEditor_Button[2]) then triggerServerEvent("executeACommand",localPlayer,localPlayer,"30") end end) but when add more button like this addEventHandler("onClientGUIClick",root, function () if (source == GUIEditor_Button[1]) then triggerServerEvent("executeACommand",localPlayer,localPlayer,"1") elseif (source == GUIEditor_Button[2]) then triggerServerEvent("executeACommand",localPlayer,localPlayer,"2") elseif (source == GUIEditor_Button[3]) then triggerServerEvent("executeACommand",localPlayer,localPlayer,"3") elseif (source == GUIEditor_Button[4) then triggerServerEvent("executeACommand",localPlayer,localPlayer,"4") elseif (source == GUIEditor_Button[5]) then triggerServerEvent("executeACommand",localPlayer,localPlayer,"5") elseif (source == GUIEditor_Button[6) then triggerServerEvent("executeACommand",localPlayer,localPlayer,"6") elseif (source == GUIEditor_Button[7]) then triggerServerEvent("executeACommand",localPlayer,localPlayer,"7") elseif (source == GUIEditor_Button[8]) then triggerServerEvent("executeACommand",localPlayer,localPlayer,"8") end end) not work
karlis Posted October 24, 2011 Posted October 24, 2011 another syntax error at line 13 FFS JUST WRITE /debugscript 3 when testing scripts [WIP]GTA IV style hud+custom blips + blip text + circular radar areas
Castillo Posted October 24, 2011 Posted October 24, 2011 And... do these 'arenas' exists? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted October 24, 2011 Posted October 24, 2011 In the chatbox. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
adward Posted October 24, 2011 Author Posted October 24, 2011 debugscript: Syntax is 'debugscript ' ??? what mean??
adward Posted October 24, 2011 Author Posted October 24, 2011 And... do these 'arenas' exists? ??? where o this??
Castillo Posted October 24, 2011 Posted October 24, 2011 Omg, you're annoying, first, don't double post, second debugscript has 4 levels, from 0 to 3. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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