Answer the question
In order to leave comments, you need to log in
Why does it crash on startup?
Crashes on launch, what's the problem?
cleo script:
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
:NONAME_2
wait 0
if
0AB0: key_pressed 53
jf @NONAME_148
jump @NONAME_2
:NONAME_148
Model.Load(#SPARROW)
Model.Load(#ARMY)
04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 0.0 20.0
[email protected] = Car.Create(#SPARROW, [email protected], [email protected], [email protected])
[email protected] = Actor.CreateAsDriver(Gang2, #ARMY, [email protected])
Actor.RemoveFromMissionCleanupList([email protected])
Actor.Health([email protected]) = 1000
Actor.SetMaxHealth([email protected], 1000)
[email protected] = Marker.CreateAboveActor([email protected])
Marker.SetIconSize([email protected], 3)
Marker.SetColor([email protected], 7)
07E0: set_marker [email protected] type_to 1
[email protected] = Actor.Create(Gang2, #ARMY, [email protected], [email protected], [email protected])
Actor.RemoveFromMissionCleanupList([email protected])
Actor.Health([email protected]) = 3000
Actor.SetMaxHealth([email protected], 3000)
0464: put_actor [email protected] into_turret_on_car [email protected] at_car_offset 0.0 1.9 2.3 position 3 shooting_angle_limit 360.0 with_weapon 29
Actor.WeaponAccuracy([email protected]) = 100
0825: set_helicopter [email protected] instant_rotor_start
0726: heli [email protected] follow_actor $PLAYER_ACTOR follow_car -1 radius 10.0
07BB: set_heli [email protected] horizontal_thrust_power 5
Answer the question
In order to leave comments, you need to log in
Look at the compiler message issued at startup, there may be an indication of an error
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question