Jump to content

need code :D


~!#abdullah

Recommended Posts

Posted
GuiSetProperty 

^^ Is correct, however I guess you'd be needing the correct property to insert, you can find a list of the properties here: http://cegui.org.uk/static/WindowsLookProperties.html

And now Aurora is back again, pm for more info.

Ex. Lead dev & L6 Staff at AUR, NGC, MTA RP & SAA.

Ex. Developer at Community of Social Gamers - CSG

Ex Founder of International Gaming Community - IGC and Union of Individual Players- UIP

9o6E8.png Ab-47

Posted
-- Try This /  Should Be Button Name With GUIEditor_Button 
  
for i,color in ipairs(GUIEditor_Button) do 
    guiSetProperty(color,"NormalTextColour","FFFF0000") 
end 
  

  

Posted
-- Try This /  Should Be Button Name With GUIEditor_Button 
  
for i,color in ipairs(GUIEditor_Button) do 
    guiSetProperty(color,"NormalTextColour","FFFF0000") 
end 
  

not working :(

Posted (edited)
for _, pButton in ipairs( getElementsByType( 'gui-button' ) ) do 
    guiSetProperty( pButton, 'NormalTextColour', 'FF0055FF' ) 
end 

Edited by Guest

http://vk.com/the_kenix

Вопросы задавайте на форуме, не пишите мне в личку.

Please don't pm me.

Posted (edited)
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

  

Posted

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" ) 

And now Aurora is back again, pm for more info.

Ex. Lead dev & L6 Staff at AUR, NGC, MTA RP & SAA.

Ex. Developer at Community of Social Gamers - CSG

Ex Founder of International Gaming Community - IGC and Union of Individual Players- UIP

9o6E8.png Ab-47

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...