#1 18-10-2011 09:57

Memati_Bas
Registered: 18-10-2011
Posts: 2

HELP HELP!!! load_path crash !!! HELP HELP Getting crazy

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

#2 18-10-2011 11:32

Sw[ee]t
From: Нижний Новгород
Registered: 16-02-2009
Posts: 686
Website

Re: HELP HELP!!! load_path crash !!! HELP HELP Getting crazy

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

#3 18-10-2011 11:39

Memati_Bas
Registered: 18-10-2011
Posts: 2

Re: HELP HELP!!! load_path crash !!! HELP HELP Getting crazy

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

#4 18-10-2011 14:05

Den_spb
From: Ленинград
Registered: 23-11-2008
Posts: 941
Website

Re: HELP HELP!!! load_path crash !!! HELP HELP Getting crazy

CLEO was created for singleplayer.

Offline

#5 18-10-2011 17:57

Sw[ee]t
From: Нижний Новгород
Registered: 16-02-2009
Posts: 686
Website

Re: HELP HELP!!! load_path crash !!! HELP HELP Getting crazy

@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

Board footer

Powered by FluxBB