golanu21 Posted March 22, 2013 Author Share Posted March 22, 2013 if getElementData( localPlayer, 'OpenPanel') ~= nil then ._.? It would be: if getElementData( localPlayer, 'OpenPanel') ~= true then what? Link to comment
Sasu Posted March 22, 2013 Share Posted March 22, 2013 What do you want? Do you want that open the panel if the player is admin? .-. Link to comment
Sasu Posted March 22, 2013 Share 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. Link to comment
golanu21 Posted March 23, 2013 Author Share 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 Link to comment
PaiN^ Posted March 23, 2013 Share Posted March 23, 2013 Mr.Pres[T]ege and Sasuke* codes are correct ! Show your full code ( Server and Client ) Link to comment
iPrestege Posted March 23, 2013 Share Posted March 23, 2013 Mr.Pres[T]ege and Sasuke* codes are correct !Show your full code ( Server and Client ) Old Topic . Link to comment
EstrategiaGTA Posted March 23, 2013 Share 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 ^^ Link to comment
iPrestege Posted March 23, 2013 Share 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 . 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