CLEO Help HELP !

CLEO related
Status
Not open for further replies.

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread 'TEST'

:TEST_1
wait 1
   SAMP.Available
jf @TEST_1
0B34: samp register_client_command "usecrack" to_label @TEST_1

:TEST
wait 1 
if 
else_jump @TEST_1
Actor.AddArmour($PLAYER_ACTOR, 100)
jump @TEST_1

How to make it work? My cleo skills are bad xD
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
{$CLEO}
0000: nop

/* LOAD_SAMPFUNCS */
if
8AF7: get_samp_base_to 0@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available

//register your command.
0B34: samp register_client_command "usecrack" to_label @TEST

//a loop so the label TEST it's only called through command /usercrack.
while true
wait 0
end

:TEST
wait 0 //or games freezes
Actor.AddArmour($PLAYER_ACTOR, 100)
0B43: cmd_return //returns to the loop
 
Status
Not open for further replies.
Top