CLEO Help Help cleo spawn NRG-500

CLEO related

VINHDZ

Active member
Joined
Nov 14, 2020
Messages
53
Reaction score
0
Location
viet nam
Hello everyone, my name is Vinh, from Vietnam. Since I'm new to writing cleo / cheat samp 0.3dl, I have a problem with cleo below, hope you guys can help me fix it. Cleo, I get this error: I can spawn the NRG500, but why can't I drive it? Please help thanks.
 

Attachments

  • Ảnh chụp màn hình (67).png
    Ảnh chụp màn hình (67).png
    87.5 KB · Views: 20
  • sa-mp-041.png
    sa-mp-041.png
    488.9 KB · Views: 19
  • sa-mp-042.png
    sa-mp-042.png
    551.4 KB · Views: 19

dphome

Well-known member
Joined
Mar 21, 2020
Messages
478
Solutions
9
Reaction score
172
Location
Poland
Working any SA:MP version. Activation: NIG.
Code:
{$CLEO .cs}

0000:

wait 8500

:NRGUN
wait 0 
if and
Player.Defined($PLAYER_CHAR)
0ADC: test_cheat "NIG" 
else_jump @NRGUN
Model.Load(522)
038B: load_requested_models 
04C4: store_coords_to 27@ 28@ 29@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0 
26@ = Car.Create(522, 27@, 28@, 29@)
036A: put_actor $PLAYER_ACTOR in_car 26@ 
0ACD: show_text_highpriority "~w~NRG-500 ~g~Spawned" time 2000 
wait 0 
jump @NRGUN
 

Attachments

  • unsyncednrg.cs
    17.7 KB · Views: 5

VINHDZ

Active member
Joined
Nov 14, 2020
Messages
53
Reaction score
0
Location
viet nam
Working any SA:MP version. Activation: NIG.
Code:
{$CLEO .cs}

0000:

wait 8500

:NRGUN
wait 0
if and
Player.Defined($PLAYER_CHAR)
0ADC: test_cheat "NIG"
else_jump @NRGUN
Model.Load(522)
038B: load_requested_models
04C4: store_coords_to 27@ 28@ 29@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0
26@ = Car.Create(522, 27@, 28@, 29@)
036A: put_actor $PLAYER_ACTOR in_car 26@
0ACD: show_text_highpriority "~w~NRG-500 ~g~Spawned" time 2000
wait 0
jump @NRGUN
Tks you :3
 
Top