Popap
Member
- Joined
- May 7, 2015
- Messages
- 24
- Reaction score
- 0
I tried to make this toggle able and it doesn't work well and searched any simple toggle able but couldn't find it
I want make it working when i type "af" like cheat and send the command and press "af" again to make it off .The text on/off should be on screen
Can anyone fix it? please
I want make it working when i type "af" like cheat and send the command and press "af" again to make it off .The text on/off should be on screen
Code:
{$CLEO .cs}
//-------------MAIN---------------
thread 'AF'
wait 5000
alloc 15@ 260
format 15@ "/AF"
:AF_45
wait 0
if
0ADC: test_cheat "AF"
if and
print "~W~AF ~G~ENABLED" 2000
018C: play_sound 1084 at 0.0 0.0 0.0
else_jump @AF_148
call @AF_160 1 15@
:AF_148
wait 11000
jump @AF_45
:AF_160
if
0AA2: 1@ = load_library "SAMP.DLL" // IF and SET
else_jump @AF_209
1@ += 416864
0AA5: call 1@ num_params 1 pop 0 0@
:AF_209
ret 0