Jump to content

need code :D


~!#abdullah

Recommended Posts

for i,color in ipairs(GUIEditor_Button) do 
    guiSetProperty(color,"NormalTextColour","ff00ff00") 
end 
  

Must be the names of all the buttons with the same name Example :

GUIEditor_Window = {} 
GUIEditor_Button = {} 
  
GUIEditor_Window[1] = guiCreateWindow(558,158,247,294,"●●●|| Spawn Panel  ||●●●",false) 
GUIEditor_Button[1] = guiCreateButton(14,95,89,39,"Police",false,GUIEditor_Window[1]) 
  
  
for i,color in ipairs(GUIEditor_Button) do 
    guiSetProperty(color,"NormalTextColour","ff00ff00") 
end 

Note: If the names of buttons different You must make the same name with the all buttons but change the number of the button and change it from the iparis .

,

Edited by Guest
Link to comment

not working

 

Button = guiCreateButton( 20, 200, 150, 30, "", false ) 
guiSetProperty ( Button, "NormalTextColour", "FFFF0000" ) 

Well I guess your problem is the color, try using another HEX code. Example: #00FF00 or #FFFF00

Example:

guiSetProperty ( Button, "NormalTextColour", "00FF00" ) 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...