Spectra
New member
- Joined
- Dec 26, 2014
- Messages
- 1
- Reaction score
- 0
Hello, I'm new with coding in sannybuilder. So I wanted to edit a cleo for adding dollar rims on car with adding switch rims. And it dont works, it teleports me into sky. Where I made a mistake?
Code:
{$CLEO .cs}
thread "SWITCH RIMS"
:SWITCH
wait 0
if
0AB0: key_pressed 0x78
else_jump @SWITCH
Player.Defined($PLAYER_ACTOR)
Actor.Driving($PLAYER_ACTOR)
1@ = Actor.CurrentCar($PLAYER_ACTOR)
Model.Load(1080)
038B: load_requested_models
06E7: 1@ = add_car_component #WHEEL_OR1 to_car 1@
0ACD: show_text_highpriority "DOLLAR RIMS - ~R~ACTIVATED" time 1500
jump @SWITCH
Code:
{$CLEO .cs}
thread "SWITCH RIMS"
:SWITCH
wait 0
if
0AB0: key_pressed 0x78
else_jump @SWITCH
Player.Defined($PLAYER_ACTOR)
Actor.Driving($PLAYER_ACTOR)
1@ = Actor.CurrentCar($PLAYER_ACTOR)
Model.Load(1080)
038B: load_requested_models
06E7: 1@ = add_car_component #WHEEL_OR1 to_car 1@
0ACD: show_text_highpriority "DOLLAR RIMS - ~R~ACTIVATED" time 1500
jump @SWITCH