جرب ذذ
GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Window[1] = guiCreateWindow(0.2738,0.29,0.4588,0.505,"gg",true)
click = guiCreateButton(81,110,173,99,"click",false,GUIEditor_Window[1])
ff = bindKey ( "F" , "down" , function()
if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then
guiSetVisible ( GUIEditor_Window[1] ,false )
showCursor (false )
elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then
guiSetVisible ( GUIEditor_Window[1] ,true )
showCursor (true )
end
end
)
addEventHandler("onClientGUIClick", root,
function ()
if source == click then
setPedAnimation( myPlayer, "WOMAN_walknorm")
end
end )
ماظبط