الوحة ماتضهر !
ما جربت جرب
addEventHandler ( "onClientResourceStart", resourceRoot, function ( )
GUIEditor.window[1] = guiCreateWindow(336, 137, 402, 480, "VIP Panel", false)
guiWindowSetSizable(GUIEditor.window[1], false)
GUIEditor.label[1] = guiCreateLabel(10, 446, 156, 30, "Created By #Monster", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[1], "default-small")
guiLabelSetColor(GUIEditor.label[1], 254, 0, 0)
Vbtn = guiCreateButton(23, 72, 126, 49, "CreateVehicle", false, GUIEditor.window[1])
guiSetProperty(Vbtn, "NormalTextColour", "FFAAAAAA")
Dmg = guiCreateButton(251, 72, 126, 49, "No Vehicle Dmg", false, GUIEditor.window[1])
guiSetProperty(Dmg, "NormalTextColour", "FFAAAAAA")
Weapon = guiCreateButton(23, 178, 126, 49, "VIP Weapons", false, GUIEditor.window[1])
guiSetProperty(Weapon, "NormalTextColour", "FFAAAAAA")
Stats = guiCreateButton(251, 178, 126, 49, "VIP Stats", false, GUIEditor.window[1])
guiSetProperty(Stats, "NormalTextColour", "FFAAAAAA")
Skin = guiCreateButton(23, 281, 126, 49, "VIP Skin", false, GUIEditor.window[1])
guiSetProperty(Skin, "NormalTextColour", "FFAAAAAA")
Health = guiCreateButton(251, 281, 126, 49, "VIP Health / Armor", false, GUIEditor.window[1])
guiSetProperty(Health, "NormalTextColour", "FFAAAAAA")
Close = guiCreateButton(40, 361, 317, 49, "Close VIP Panel ", false, GUIEditor.window[1])
guiSetProperty(Close, "NormalTextColour", "FFAAAAAA")
end )
function royal()
if guiGetVisible ( GUIEditor.window[1] ) then
guiSetVisible ( GUIEditor.window[1], false )
showCursor(false)
guiSetInputEnabled(false)
else
guiSetVisible ( GUIEditor.window[1], true )
showCursor(true)
guiSetInputEnabled(true)
end
end
bindKey("F5", "down", royal)
addEventHandler ( "onClientGUIClick", resourceRoot, function ( )
if ( source == Vbtn ) then
triggerServerEvent ( "GiveCar", localPlayer )
end
end )