CLEO Help CLEO help [Spam errors]

CLEO related
Status
Not open for further replies.

DzkAy

Well-known member
Joined
Feb 20, 2014
Messages
472
Reaction score
1
-So i'm making a CLEO called Fast CarExit , but i try the first time it works well , the second times works well too , but the Third Times it spams opcodes Errors and Crash  :yesyes:

Here's my code:
Code:
:FASTEXIT_01
wait 0
0@ = Actor.CurrentCar($PLAYER_ACTOR)
if and
Actor.Driving($PLAYER_ACTOR)
Player.Defined($PLAYER_ACTOR)
0AB0:   key_pressed 70
else_jump @FASTEXIT_01
Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
wait 250
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 1@ 2@ 3@
wait 250
jump @FASTEXIT_01

Thanks in advance  :somuchwin:
 

Xer

Well-known member
Joined
May 11, 2013
Messages
256
Reaction score
0
i think its on server, try it to other servers.

it's also happens to me when im creating a simple cleo.
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Code:
:FASTEXIT_01
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
Player.Defined($PLAYER_ACTOR)
0AB0:   key_pressed 70
else_jump @FASTEXIT_01
if 0@ = Actor.CurrentCar($PLAYER_ACTOR)
else_jump @FASTEXIT_01
Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
wait 250
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 1@ 2@ 3@
wait 250
jump @FASTEXIT_01
 

DzkAy

Well-known member
Joined
Feb 20, 2014
Messages
472
Reaction score
1
springfield link said:
Code:
:FASTEXIT_01
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
Player.Defined($PLAYER_ACTOR)
0AB0:   key_pressed 70
else_jump @FASTEXIT_01
if 0@ = Actor.CurrentCar($PLAYER_ACTOR)
else_jump @FASTEXIT_01
Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
wait 250
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 1@ 2@ 3@
wait 250
jump @FASTEXIT_01
I've tried yours but when i pressed "F" nothing happens  :surprised:
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
My mistake..
Code:
:FASTEXIT_01
wait 0
if and
Actor.Driving($PLAYER_ACTOR)
Player.Defined($PLAYER_ACTOR)
0AB0:   key_pressed 70
else_jump @FASTEXIT_01
0@ = Actor.CurrentCar($PLAYER_ACTOR)
if 056E:   car 0@ defined 
else_jump @FASTEXIT_01
Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
wait 250
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 1@ 2@ 3@
wait 250
jump @FASTEXIT_01

If you still crash you might want to lower the 'wait' times.
 

DzkAy

Well-known member
Joined
Feb 20, 2014
Messages
472
Reaction score
1
THanks i know what the problem here , i missed store coords from cars
i replace
Code:
Actor.StorePos

With this one and thanks god , no more crash  :somuchwin:

Code:
0407: store_coords_to 1@ 2@ 3@ from_car 0@ with_offset 0.0 0.0 0.5
 
Status
Not open for further replies.
Top