Jump to content

GUI Problem


Luk-ry

Recommended Posts

Posted

I have a problem with my script. When i start it i doesn't see the GUI. Here is my script:

GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Label = {}
 
GUI_Window = guiCreateWindow(639,241,411,550,"Title",true)
GUI_Button1 = guiCreateButton(97,389,217,30,"Button1",false,GUIEditor_Window[1])
GUI_Label1 = guiCreateLabel(65,345,278,19,"Label1",false,GUIEditor_Window[1])
guiLabelSetColor(GUI_Label1,255,255,255)
guiLabelSetVerticalAlign(GUI_Label1,"top")
guiLabelSetHorizontalAlign(GUI_Label1,"left",false)
GUI_Button2 = guiCreateButton(97,431,217,30,"Button2",false,GUIEditor_Window[1])
GUI_Button3 = guiCreateButton(97,474,217,30,"Button3",false,GUIEditor_Window[1])
end

Posted

a .. list???

you don't need that "end"

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

That's kinda logical. It's not like SAMP, where server shows client gui :P It has to be a client side script, not server side. Wiki states aswell that gui functions are clientside not serverside.

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