-- Client Side
GUIEditor_Window = {}
GUIEditor_Window[1] = guiCreateWindow(411,177,421,234,"More . . .",false)
guiSetVisible(GUIEditor_Window[1], false)
base = guiCreateButton(0.0214,0.0983,0.3135,0.4188,"To Base",true,GUIEditor_Window[1])
guiSetFont(base,"default-bold-small")
armor = guiCreateButton(0.342,0.0983,0.3135,0.4188,"Armor",true,GUIEditor_Window[1])
guiSetFont(armor,"default-bold-small")
heal = guiCreateButton(0.6603,0.0983,0.3135,0.4188,"Health",true,GUIEditor_Window[1])
guiSetFont(heal,"default-bold-small")
staff = guiCreateButton(0.0238,0.5299,0.3135,0.4188,"Go Staff Team",true,GUIEditor_Window[1])
guiSetFont(staff,"default-bold-small")
jail = guiCreateButton(0.3444,0.5342,0.3135,0.4017,"Jail Panel",true,GUIEditor_Window[1])
guiSetFont(jail,"default-bold-small")
guiSetVisible(GUIEditor_Window[1],false)
bindKey ( "F3" , "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 (false )
end
end
)
addEventHandler("onClientGUIClick", root,
function ()
if source == base then
setElementPosition(localPlayer,-1755.81,955.94,24.74)
end
end)