// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
:Noname_2
wait 0
key_down 122
jf @Noname_2
SAMP.SetCursorMode(2)
Dialog.Create(0@, "MENU")
Dialog.SetRECT(0@, 500, 500, 300, 225)
Dialog.AddButton(0@, 1, "0 hp", 0, 0, 100, 30)
Dialog.AddButton(0@, 2, "45 hp", 0, 25, 100, 30)
Dialog.AddButton(0@, 3, "100 hp", 0, 50, 100, 30)
Dialog.AddButton(0@, 4, "GM", 0, 75, 100, 30)
:Noname_142
wait 0
0ADC: test_cheat "ON"
jf @Noname_142
Dialog.SetVisible(0@, 1)
SAMP.SetCursorMode(2)
:Noname_170
wait 0
if
Dialog.PopEvent(0@, 1@, 2@)
jf @Noname_657
if
1@ == 257
jf @Noname_305
if
2@ == 1
jf @Noname_305
chatmsg "Была нажата кнопка. Компонент №%d" -1 2@
alloc 3@ 128
Actor.Health($PLAYER_ACTOR) = 0
wait 300
SAMP.SetCursorMode(2)
free 3@
:Noname_305
if
1@ == 257
jf @Noname_405
if
2@ == 2
jf @Noname_405
chatmsg "Была нажата кнопка. Компонент №%d" -1 2@
alloc 3@ 128
Actor.Health($PLAYER_ACTOR) = 45
free 3@
:Noname_405
if
1@ == 257
jf @Noname_505
if
2@ == 3
jf @Noname_505
chatmsg "Была нажата кнопка. Компонент №%d" -1 2@
alloc 3@ 128
Actor.Health($PLAYER_ACTOR) = 100
free 3@
:Noname_505
if
1@ == 257
jf @Noname_657
if
2@ == 4
jf @Noname_657
chatmsg "Была нажата кнопка. Компонент №%d" -1 2@
alloc 3@ 128
print "~G~GodMode Activated!" 4000
Actor.SetImmunities($PLAYER_ACTOR, 1, 1, 1, 1, 1)
0A8C: write_memory 4928287 size 6 value -1869574000 virtual_protect 1
free 3@
:Noname_657
goto @Noname_170
:Noname_664
wait 0
0ADC: test_cheat "OFF"
jf @Noname_664
Dialog.SetVisible(0@, 0)
SAMP.SetCursorMode(0)
goto @Noname_142