CLEO Help Car repair help

CLEO related
Status
Not open for further replies.

DedeRaditya

Active member
Joined
Apr 12, 2015
Messages
45
Reaction score
1
Hello there,

I found this awesome working car repair, the problem is, its not working when the vehicle health is more than 1000.
It fixes the car but with fixed value of 1000 HP, so is that possible to edit and make a custom version that could repair heavy vehicles, like truck?
It's decrypted so i couldnt open it in editor. It says the cleo was taken from sobeit module.

to activate it: shift + 1

Thanks before
 

Attachments

  • repair.cs
    17.3 KB · Views: 30
Last edited:

SobFoX

Expert
Joined
Jul 14, 2015
Messages
1,463
Solutions
5
Reaction score
916
Location
Israel
Hello there,

I found this awesome working car repair, the problem is, its not working when the vehicle health is more than 1000.
It fixes the car but with fixed value of 1000 HP, so is that possible to edit and make a custom version that could repair heavy vehicles, like truck?
It's decrypted so i could open it in editor. It says the cleo was taken from sobeit module.

Thanks before
How much do you want to change it?
 

blvck0v

Active member
Joined
Feb 23, 2019
Messages
98
Reaction score
51
Location
ugbase.eu
PHP:
{$CLEO}
0000:

wait 8500

while true
wait 0
    if and
        key_down 16 // shift
        key_down 50 // 2
        Actor.Driving($PLAYER_ACTOR)
    then
        0@ = Actor.CurrentCar($PLAYER_ACTOR)
        0A30: repair_car 0@
        wait 250
//        0407: store_coords_to 1@ 2@ 3@ from_car 0@ with_offset -1.5, 0.0, 0.0
//        Actor.PutAt($PLAYER_ACTOR, 1@, 2@, 3@)
//        wait 1000
    end
end
shift + 2
If you need the teleporting part, uncomment and compile.
 

Attachments

  • Repair.cs
    17.6 KB · Views: 15
Status
Not open for further replies.
Top