CAR REPAIR ! HEALTH REPAIR ! ARMOR REPAIR !

Status
Not open for further replies.

hector1337A

New member
Joined
Dec 3, 2019
Messages
4
Reaction score
1
Location
Hrvatska
Help i need cleo car repair for samp, i've found some but it repairs car completley and sets engine health to 1000. I need cleo script that only set's car engine health to 997 and does not repair shell of a car!

Also i would like to have a script that set's your HP to half full not full. around 80% , Also for armor.

Please thanks alot!
 

hector1337A

New member
Joined
Dec 3, 2019
Messages
4
Reaction score
1
Location
Hrvatska
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 6.14.2013
{$CLEO .cs}

//-------------MAIN---------------
thread 'REPAIR'

:REPAIR_11
wait 100
if
Player.Defined($PLAYER_CHAR)
jf @REPAIR_38
jump @REPAIR_45

:REPAIR_38
jump @REPAIR_11

:REPAIR_45
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
0AB0: key_pressed 82
jf @REPAIR_108
1@ = Actor.CurrentCar($PLAYER_ACTOR)
0A30: repair_car 1@
00BC: show_text_highpriority GXT 'RREPAIR' time 3000 flag 1
Car.RemoveReferences(1@)
wait 200

:REPAIR_108
jump @REPAIR_45
 
Status
Not open for further replies.
Top