جرب اشتغل معاي
%100
اما بالنسبه للبنق انت مو مضبط مكان الليبل
GUIEditor_Window = {}
GUIEditor_Tab = {}
GUIEditor_Button = {}
GUIEditor_Label = {}
GUIEditor_Window[1] = guiCreateWindow(288,150,262,437,"Spawn Panel By >>»FAHAD..<<«",false)
GUIEditor_Label[1] = guiCreateLabel ( 3, 3, 3, 1, "Your Name:", true,GUIEditor_Window[1])
GUIEditor_Label[2] = guiCreateLabel ( 3, 3, 5, 1, "Your Ping", true,GUIEditor_Window[1] )
GUIEditor_Button[1] = guiCreateButton(11,148,77,28,"النخيل",false,GUIEditor_Window[1])
GUIEditor_Button[2] = guiCreateButton(163,146,80,29,"الدائري",false,GUIEditor_Window[1])
GUIEditor_Button[3] = guiCreateButton(12,242,74,30,"الدخل",false,GUIEditor_Window[1])
GUIEditor_Button[4] = guiCreateButton(166,244,77,31,"الغروب",false,GUIEditor_Window[1])
GUIEditor_Button[5] = guiCreateButton(11,327,77,30,"ساحة القتال",false,GUIEditor_Window[1])
GUIEditor_Button[6] = guiCreateButton(165,326,80,28,"مهمة البنك",false,GUIEditor_Window[1])
GUIEditor_Label[1] = guiCreateLabel(15,407,136,30,"By »FAHAD..??«",false,GUIEditor_Window[1])
function resourceStart ()
bindKey ("F2", "down", menuShow)
end
addEventHandler ("onClientResourceStart", getResourceRootElement ( getThisResource () ), resourceStart)
function menuShow ()
visableornot = guiGetVisible (GUIEditor_Window[1])
if (visableornot == true) then
guiSetVisible (GUIEditor_Window[1], false)
showCursor (false)
end
if (visableornot == false) then
guiSetVisible (GUIEditor_Window[1], true)
showCursor (true)
end
end
addEventHandler("onClientRender", getRootElement(),
function ()
if guiGetVisible(GUIEditor_Window[1]) then
guiSetText(GUIEditor_Label[1]," "..getPlayerName(getLocalPlayer()))
end
end )
function Ping()
local myPing = getPlayerPing(getLocalPlayer())
guiSetText ( GUIEditor_Label[2], "Your Ping: ".. tostring(myPing) .." " )
end
جرب هذا الكود كمان مرا
انا حدثته