Search the Community
Showing results for tags ' gui'.
-
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 )
- 7 replies
-
- walking_style
- gui
-
(and 1 more)
Tagged with: