GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Window[1] = guiCreateWindow(360,191,545,194,"By_NicKeL'z",false)
LV_B = guiCreateButton(0.0183,0.1186,0.9651,0.3866,"LV",true,GUIEditor_Window[1])
GUIEditor_Button[1] = guiCreateButton(0.0183,0.1186,0.9651,0.3866,"LV",true,GUIEditor_Window[1])
LS_B = guiCreateButton(0.0239,0.5412,0.9596,0.3454,"LS",true,GUIEditor_Window[1])
------------------------------
---Open Panel
------------------------------
function onresourceStart ()
bindKey ("F3", "down", showUserPanel)
end
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onresourceStart)
function showUserPanel ()
local getVisible = guiGetVisible (GUIEditor_Window[1])
if (getVisible) then
guiSetVisible (GUIEditor_Window[1], false)
showCursor (false)
else
guiSetVisible (GUIEditor_Window[1], false)
showCursor (true)
playSound("s3d.wav")
triggerServerEvent("getVoteDatas",localPlayer)
end
end
addEventHandler("onClientGUIClick",guiRoot,
function()
if source == LS_B then
triggerServerEvent("SetTeam",localPlayer)
end
end
)
اذا ممكن تششرح لي التغيير
لوول مسجل بعضويتين نيكلز
واضح انك ماخذ اكواد سعد : /