You are not logged in.
Hey
every time i try to load a path from carrec my game freezes.
Heres the code:
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007
{$VERSION 3.1.0027}
{$CLEO .cs}//-------------MAIN---------------
thread 'ZACC':ZACC_11
wait 500
if
Player.Defined($PLAYER_CHAR)
else_jump @ZACC_11
if
Player.Controllable($PLAYER_CHAR)
else_jump @ZACC_11
if
Actor.Driving($PLAYER_ACTOR)else_jump @ZACC_11
if
0AB0: key_pressed 57
else_jump @ZACC_11
03C0: 0@ = actor $PLAYER_ACTOR car
wait 10000
0006: 8@ = 120
07C0: load_path 8@jump @ZACC_11
Last edited by Memati_Bas (18-10-2011 09:59)
Offline
well, try this one:
:ZACC_11 wait 0 if Player.Defined($PLAYER_CHAR) jf @ZACC_11 if Actor.Driving($PLAYER_ACTOR) jf @ZACC_11 if 0AB0: 57 jf @ZACC_11 03C0: 0@ = actor $PLAYER_ACTOR car // u better dont put wait opcode in there, it may cause crash 07C0: 120 jump @ZACC_11 // why do u jump at the beginning? if you drive car this time its going to load path every time.
Offline
hey ty for the answer!!
i found out something:
if i start gta singleplayer it works ppeeerfectly
but in SAMP game freezes...
is there i way to fix it?
Offline
@Memati_Bas - Works with following code i wrote before? Like Den_spb said, CLEO was created for single player purposes only and not guaranteed to work with SAMP.
Offline