CLEO Help I want to create more loops to make another car

CLEO related

Kelvin_One

Member
Joined
Jul 3, 2021
Messages
17
Reaction score
0
Location
Canada
Code:
// This file was decompiled using SASCM.ini published on 2021-01-30
{$CLEO .cs}

0000: NOP

:NONAME_2
wait 0
test_cheat "CS"
jf @NONAME_2
Model.Load(432)
038B: load_requested_models

:NONAME_26
wait 0
   Model.Available(432)
jf @NONAME_26
04C4: store_coords_to 0@ 1@ 2@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0
Car.Create(4@, 432, 0@, 1@, 2@)
036A: put_actor $PLAYER_ACTOR in_car 4@
Model.Destroy(432)
jump @NONAME_2
I want to create more loops to make another car. Currently this code is Rhino, can I add the NRG car code in that CLEO? Like 1 CLEO (spawn to 2 cars is okay)
@ajom @SobFoX @Parazitas
 

VINHDZ

Active member
Joined
Nov 14, 2020
Messages
53
Reaction score
0
Location
viet nam
Has been created

Code:
{$CLEO .cs}

0000: NOP

:NONAME_2
wait 0
0ADC: "CS"
jf @1
Model.Load(432)
038B: load_requested_models
jump @NONAME_26
:NONAME_26
wait 0
   Model.Available(432)
jf @NONAME_26
04C4: store_coords_to 0@ 1@ 2@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0
Car.Create(4@, 432, 0@, 1@, 2@)
036A: put_actor $PLAYER_ACTOR in_car 4@
Model.Destroy(432)
jump @NONAME_2
:1
wait 0
0ADC: "CX"
jf @NONAME_2
Model.Load(522)
038B: load_requested_models
jump @2
:2
wait 0
   Model.Available(522)
jf @2
04C4: store_coords_to 0@ 1@ 2@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0
Car.Create(4@, 522, 0@, 1@, 2@)
036A: put_actor $PLAYER_ACTOR in_car 4@
Model.Destroy(522)
jump @NONAME_2
 

Attachments

  • Spawnveh.cs
    18.1 KB · Views: 2
Top