addEventHandler ( "onClientResourceStart", resourceRoot, function ( )
wnd = guiCreateWindow(336, 137, 402, 480, "VIP Panel", false)
guiWindowSetSizable(wnd, false)
ll = guiCreateLabel(10, 446, 156, 30, "Created By #Monster", false, wnd)
guiSetFont(ll, "default-small")
guiLabelSetColor(ll, 254, 0, 0)
Vbtn = guiCreateButton(23, 72, 126, 49, "CreateVehicle", false, wnd)
guiSetProperty(Vbtn, "NormalTextColour", "FFAAAAAA")
Dmg = guiCreateButton(251, 72, 126, 49, "No Vehicle Dmg", false, wnd)
guiSetProperty(Dmg, "NormalTextColour", "FFAAAAAA")
Weapon = guiCreateButton(23, 178, 126, 49, "VIP Weapons", false, wnd)
guiSetProperty(Weapon, "NormalTextColour", "FFAAAAAA")
Stats = guiCreateButton(251, 178, 126, 49, "VIP Stats", false, wnd)
guiSetProperty(Stats, "NormalTextColour", "FFAAAAAA")
Skin = guiCreateButton(23, 281, 126, 49, "VIP Skin", false, wnd)
guiSetProperty(Skin, "NormalTextColour", "FFAAAAAA")
Health = guiCreateButton(251, 281, 126, 49, "VIP Health / Armor", false, wnd)
guiSetProperty(Health, "NormalTextColour", "FFAAAAAA")
Close = guiCreateButton(40, 361, 317, 49, "Close VIP Panel ", false, wnd)
guiSetProperty(Close, "NormalTextColour", "FFAAAAAA")
end )
bindKey ( "F5", "down", function ( )
guiSetVisible ( wnd, not guiGetVisible ( wnd ) )
showCursor ( guiGetVisible ( wnd ) )
end )
addEventHandler ( "onClientGUIClick", resourceRoot, function ( )
if ( source == Vbtn ) then
triggerServerEvent ( "GiveCar", localPlayer )
end
end )