golanu21 Posted March 22, 2013 Author Posted March 22, 2013 if getElementData( localPlayer, 'OpenPanel') ~= nil then ._.? It would be: if getElementData( localPlayer, 'OpenPanel') ~= true then what?
Sasu Posted March 22, 2013 Posted March 22, 2013 What do you want? Do you want that open the panel if the player is admin? .-.
Sasu Posted March 22, 2013 Posted March 22, 2013 Try change the client to: bindKey("F5","down", function () if getElementData( localPlayer, 'OpenPanel') == true then guiSetVisible(fereastra, true) showCursor(true) guiLabelSetColor(GUIEditor.label[5],math.random(0, 255), math.random(0, 255), math.random(0, 255)) end end ) Press F5 to open the panel. If it dont work, put /debugscript 3 and tell us the error.
golanu21 Posted March 23, 2013 Author Posted March 23, 2013 Try change the client to: bindKey("F5","down", function () if getElementData( localPlayer, 'OpenPanel') == true then guiSetVisible(fereastra, true) showCursor(true) guiLabelSetColor(GUIEditor.label[5],math.random(0, 255), math.random(0, 255), math.random(0, 255)) end end ) Press F5 to open the panel. If it dont work, put /debugscript 3 and tell us the error. i press F5 but nothing, debugscript 3 nothing
PaiN^ Posted March 23, 2013 Posted March 23, 2013 Mr.Pres[T]ege and Sasuke* codes are correct ! Show your full code ( Server and Client )
iPrestege Posted March 23, 2013 Posted March 23, 2013 Mr.Pres[T]ege and Sasuke* codes are correct !Show your full code ( Server and Client ) Old Topic .
EstrategiaGTA Posted March 23, 2013 Posted March 23, 2013 Mr.Pres[T]ege and Sasuke* codes are correct !Show your full code ( Server and Client ) Old Topic . And with 33 replys ^^
iPrestege Posted March 23, 2013 Posted March 23, 2013 Mr.Pres[T]ege and Sasuke* codes are correct !Show your full code ( Server and Client ) Old Topic . And with 33 replys ^^ Yes and there's another topic about the same problem .
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