CLEO Help Help - Auto Type Cleo Mod - Crashes

CLEO related
Status
Not open for further replies.

kcirtapsky

Member
Joined
Dec 19, 2013
Messages
7
Reaction score
0
Code:
{$VERSION 3.1.0027}
{$CLEO .cs}

thread 'BoatGM'

:GetMats
wait 0
if and
Actor.Defined($PLAYER_ACTOR)
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
else_jump @GetMats
wait 0
if
00EC:   actor $PLAYER_ACTOR 0 near_point 2101.3479 -104.8357 2.2809 radius 2.0 2.0
else_jump @GetMats
wait 0
0AF9: samp say_msg "/getmats"
wait 2000
JUMP @GetMats

This was inspired bt xzytro's autogetmats.cs

I don't know the reason but the game crashes when I'm near the coordinate.

Can someone please help

This appears before the game crashes:

Code:
[11:13:07] Warning(s007): Exception 0xC0000005 at 0x0

[11:13:07] Warning(s007): Exception 0xC0000005 at 0x4874A2

[11:13:08] Warning(s007): Exception 0xC0000005 at 0x0

[11:13:08] Warning(s007): Exception 0xC0000005 at 0x0

[11:13:08] Warning(s007): Exception 0xC0000005 at 0x0

[11:13:08] Warning(s007): Exception 0xC0000005 at 0x0

[11:13:08] Warning(s007): Exception 0xC0000005 at 0x0

[11:13:08] Warning(s007): Exception 0xC0000005 at 0x0

[11:13:08] Warning(s007): Exception 0xC0000005 at 0x0

[11:13:08] Warning(s007): Exception 0xC0000005 at 0x0
 

kcirtapsky

Member
Joined
Dec 19, 2013
Messages
7
Reaction score
0
Code:
{$VERSION 3.1.0027}
{$CLEO .cs}

thread 'BoatGM'

:LOAD
wait 0
if
8AF7: get_samp_base_to 0@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available

:GetMats
wait 0
if and
Actor.Defined($PLAYER_ACTOR)
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
else_jump @GetMats
wait 0
if
00EC:   actor $PLAYER_ACTOR 0 near_point 2101.3479 -104.8357 2.2809 radius 2.0 2.0
else_jump @GetMats
wait 0
0AF9: samp say_msg "/getmats"
wait 2000
JUMP @GetMats

Ok, I've figured it out. Here's the code for anyone who'd like to use it.

Merry Christmas!
 
Status
Not open for further replies.
Top