Jump to content

Search the Community

Showing results for tags ' gui'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. hello guys this is my first Gui project and i am pretty noob so can u please tell me whats wrong local player = getLocalPlayer () GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } function Panel() name = guiCreateWindow(856, 143, 264, 388, "Walking Style", false) guiWindowSetSizable(name, false) local label = guiCreateLabel(6, 1, 254, 15, "", false, GUIEditor.window[1]) GUIEditor.gridlist[1] = guiCreateGridList(28, 44, 209, 308, false, GUIEditor.window[1]) local Default = guiCreateButton(10, 14, 189, 30, "Default", false, GUIEditor.gridlist[1]) local Drunk = guiCreateButton(10, 54, 189, 30, "Drunk Man", false, GUIEditor.gridlist[1]) local Sneak = guiCreateButton(10, 94, 189, 30, "Sneaking", false, GUIEditor.gridlist[1]) local Blind = guiCreateButton(10, 134, 189, 30, "Blind Man", false, GUIEditor.gridlist[1]) local Gangstar = guiCreateButton(10, 174, 189, 30, "Gangstar", false, GUIEditor.gridlist[1]) local Sexy = guiCreateButton(10, 214, 189, 30, "Sexy", false, GUIEditor.gridlist[1]) local fat = guiCreateButton(10, 254, 189, 30, "Fat man", false, GUIEditor.gridlist[1]) local Close = guiCreateButton(104, 357, 58, 17, "Done", false, GUIEditor.window[1]) showCursor ( true ) end addCommandHandler("ws", panel) function Reset() setPedWalkingStyle ( player, 0 ) end function Drunk() setPedWalkingStyle ( player, 126 ) end function Sneak() setPedWalkingStyle ( player, 69 ) end function Blind() setPedWalkingStyle ( player, 127 ) end function Gangstar() setPedWalkingStyle ( player, 121 ) end function Sexy() setPedWalkingStyle ( player, 132 ) end function Fat() setPedWalkingStyle ( player, 124 ) end function Close() guiSetVisible ( name, false ) showCursor ( false ) end addEventHandler ( "onClientGUIClick", Default, Reset, false ) addEventHandler ( "onClientGUIClick", Drunk, Drunk, false ) addEventHandler ( "onClientGUIClick", Sneak, Sneak, false ) addEventHandler ( "onClientGUIClick", Blind, Blind, false ) addEventHandler ( "onClientGUIClick", Gangstar, Gangstar, false ) addEventHandler ( "onClientGUIClick", Sexy, Sexy, false ) addEventHandler ( "onClientGUIClick", Fat, Fat, false ) addEventHandler ( "onClientGUIClick", close, close, false )
×
×
  • Create New...