-- # Client Side :
outputChatBox("Health Mod By AhmedSmood V.2 | Started",0,255,0,true)
GUIEditor = {
memo = {},
button = {},
label = {},
window = {},
}
GUIEditor.window[1] = guiCreateWindow(179, 191, 419, 186, "Mostsfah Mod By AhmedSmood ", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetAlpha(GUIEditor.window[1], 1.00)
guiSetVisible (GUIEditor.window[1], false)
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000")
GUIEditor.button[1] = guiCreateButton(308, 130, 101, 44, "Set To 25", false, GUIEditor.window[1])
GUIEditor.button[2] = guiCreateButton(151, 130, 101, 44, "Set To 50", false, GUIEditor.window[1])
GUIEditor.button[3] = guiCreateButton(10, 130, 101, 44, "Set To 100", false, GUIEditor.window[1])
GUIEditor.label[1] = guiCreateLabel(44, 94, 90, 31, "1000 $", false, GUIEditor.window[1])
GUIEditor.label[2] = guiCreateLabel(172, 94, 90, 31, "600 $", false, GUIEditor.window[1])
GUIEditor.label[3] = guiCreateLabel(332, 94, 90, 31, "200 $", false, GUIEditor.window[1])
GUIEditor.memo[1] = guiCreateMemo(9, 20, 404, 65, "Set Your Health To 100 or 50 or 25 \nThis Mod Is By AhmedSmood ~", false, GUIEditor.window[1])
marker = createMarker( 2033.6513671875,-1404.0823974609,17.268367767334, "cylinder", 2, 255, 0, 5, 150 )
marker1 = createMarker( 1172.6295166016,-1321.7215576172,15.399421691895, "cylinder", 2, 255, 0, 5, 150 )
addEventHandler ( "onClientMarkerHit",getRootElement(),
function ( hitPlayer )
if ( hitPlayer == localPlayer ) then
if source == marker or source == marker1 then
guiSetVisible ( GUIEditor.window[1], true )
showCursor ( true )
end
end
end,false
)
addEventHandler("onClientGUIClick",getRootElement(),
function ( )
if ( source == GUIEditor.button[1] ) then
triggerServerEvent("Health",localPlayer)
elseif ( source == GUIEditor.button[2] ) then
triggerServerEvent("Health2",localPlayer)
elseif ( source == GUIEditor.button[3] ) then
triggerServerEvent("Health3",localPlayer)
end
end
)