DedeRaditya
Active member
- Joined
- Apr 12, 2015
- Messages
- 45
- Reaction score
- 1
Hello,
I tried to play SAMP again, and I found out that this script is not working anymore, usually it can be activated by SHIFT+1 but it not anymore. The purpose of this script is to repair car, anyone can help me with it?
I tried to play SAMP again, and I found out that this script is not working anymore, usually it can be activated by SHIFT+1 but it not anymore. The purpose of this script is to repair car, anyone can help me with it?
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE CLEO+}
{$USE file}
{$USE newOpcodes}
thread "REPAIR"
:REPAIR_10
wait 0
if and
key_down 16
key_down 49
Actor.Driving($0[3])
jf @REPAIR_10
0@ = Actor.CurrentCar($0[3])
1@ = Car.Health(0@)
if
not 1@ > 2000.0
jf @REPAIR_10
0A30: repair_car 0@
wait 100
// 0407: store_coords_to 1@ 2@ 3@ from_car 0@ with_offset -1.5 0.0 0.0
// 0362: remove_actor $0[3] from_car_and_place_at 1@ 2@ 3@
wait 1000
Car.RemoveReferences(0@)
jump @REPAIR_10