Destroy car

alborosie

Active member
Joined
Aug 16, 2017
Messages
67
Reaction score
3
Anyone a cleo destroy car?
with a command set hp of vehicle you drive to 0
srry for bad english :sadpepe:
 

reowin

Active member
Joined
May 14, 2013
Messages
39
Reaction score
0
i have a cleo that has this in it if but it has alot of other things aswell though

ill give you it if you can give me updated auto /getmats
 

KillerZ

Active member
Joined
Apr 6, 2014
Messages
73
Reaction score
0
Compiled version attached

[shcode=cpp]
{$CLEO .cs}

0000: NOP

repeat
    wait 300
until 0AFA:  is_samp_available

0B34: samp register_client_command "vdestroy" to_label @vdestroy

while true
wait 0
end

:vdestroy
wait 0
if
    00DF: actor $PLAYER_ACTOR driving    
then
    1@ = Actor.CurrentCar($PLAYER_ACTOR)
    0224: set_car 1@ health_to 0   
else
    0AF8: samp add_message_to_chat "{F51B1F}[Error]: {FFFFFF}You must be in a vehicle to use /vdestroy!" color -1
end
0B43: samp cmd_ret
[/shcode]
 

Attachments

  • DestroyCar.cs
    17.8 KB · Views: 56

alborosie

Active member
Joined
Aug 16, 2017
Messages
67
Reaction score
3
KillerZ said:
Compiled version attached

[shcode=cpp]
{$CLEO .cs}

0000: NOP

repeat
    wait 300
until 0AFA:  is_samp_available

0B34: samp register_client_command "vdestroy" to_label @vdestroy

while true
wait 0
end

:vdestroy
wait 0
if
    00DF: actor $PLAYER_ACTOR driving    
then
    1@ = Actor.CurrentCar($PLAYER_ACTOR)
    0224: set_car 1@ health_to 0   
else
    0AF8: samp add_message_to_chat "{F51B1F}[Error]: {FFFFFF}You must be in a vehicle to use /vdestroy!" color -1
end
0B43: samp cmd_ret
[/shcode]

Thank you very much!!!
<3
 
Top