Help!!!

Joined
Aug 16, 2017
Messages
11
Likes
0
Points
1
#1
Help me with this cleo!

{$CLEO .cs}

0000: NOP 


0B34: samp register_client_command "destroy" to_label @cmd

[email protected] = 0

:repair
0B12: [email protected] = [email protected] XOR 1
SAMP.IsCommandTyped([email protected])
0001: wait 100 ms 
00D6: if and
00DF: actor $PLAYER_ACTOR driving  
[email protected] = Actor.CurrentCar($PLAYER_ACTOR)
0224: set_car [email protected] health_to 0 
SAMP.CmdRet



:cmd
0AD1: show_formatted_text_highpriority "~G~Masina A Fost Distrusa Cu Succes" time 1000 
0B43: samp cmd_ret
 
OP
OP
S
Joined
Aug 16, 2017
Messages
11
Likes
0
Points
1
#3
bladero said:
wtf ? you have 2 command labels and you registred one command 
lol
{$CLEO .cs}

0000: NOP 


0B34: samp register_client_command "destroy" to_label @repair

[email protected] = 0

:repair
0B12: [email protected] = [email protected] XOR 1
SAMP.IsCommandTyped([email protected])
0001: wait 100 ms 
00D6: if and
00DF: actor $PLAYER_ACTOR driving  
[email protected] = Actor.CurrentCar($PLAYER_ACTOR)
0224: set_car [email protected] health_to 0 
0AD1: show_formatted_text_highpriority "~G~Masina A Fost Distrusa Cu Succes" time 1000 
SAMP.CmdRet





  

look
 

bladero

Well-Known Member
Joined
Jan 3, 2017
Messages
73
Likes
0
Points
6
#5
Well First of all make While true loop under ob34 with wait 0 in it. And delete [email protected] = 0 idk why you need to set variable 15 to false... Also use IF (AND if needed) THEN END : http://ugbase.eu/Thread-Sanny-Builder-Syntax?highlight=Sanny+Builder+Syntax
 
Joined
Oct 11, 2017
Messages
0
Likes
0
Points
0
#7
SebiTalent04 said:
Help me with this cleo!

{$CLEO .cs}

0000: NOP 


0B34: samp register_client_command "destroy" to_label @cmd

[email protected] = 0

:repair
0B12: [email protected] = [email protected] XOR 1
SAMP.IsCommandTyped([email protected])
0001: wait 100 ms 
00D6: if and
00DF: actor $PLAYER_ACTOR driving  
[email protected] = Actor.CurrentCar($PLAYER_ACTOR)
0224: set_car [email protected] health_to 0 
SAMP.CmdRet



:cmd
0AD1: show_formatted_text_highpriority "~G~Masina A Fost Distrusa Cu Succes" time 1000 
0B43: samp cmd_ret

 
Top