Can I add more locations ?

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
10
Code:
{$CLEO .cs}
thread 'BoatGM'
wait 5000
0ac8: 15@ = 260
0ad3: 15@ = "/getmats"

:GetMats
wait 0
if and
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
else_jump @GetMats
if or
00EC:   actor $PLAYER_ACTOR sphere 0 near_point 598.1029 -1246.2056 radius 5.0 5.0
00EC:   actor $PLAYER_ACTOR sphere 0 near_point 1423.7251 -1320.4540 radius 5.0 5.0
00EC:   actor $PLAYER_ACTOR sphere 0 near_point -1713.7140 1348.6115 radius 5.0 5.0
00EC:   actor $PLAYER_ACTOR sphere 0 near_point -1495.4771 504.9980 radius 5.0 5.0
00EC:   actor $PLAYER_ACTOR sphere 0 near_point 594.6078 -1250.5634 radius 5.0 5.0
00EC:   actor $PLAYER_ACTOR sphere 0 near_point 1424.1467 -1319.0349 radius 5.0 5.0
00EC:   actor $PLAYER_ACTOR sphere 0 near_point -1816.381 -179.5001 radius 5.0 5.0 
00EC:   actor $PLAYER_ACTOR sphere 0 near_point 2390.36 -2008.191 radius 5.0 5.0 
else_jump @GetMats
0ab1: @SAY 1 15@
wait 2000
JUMP @GetMats

:SAY
IF 0AA2: 1@ = "samp.dll"
THEN
    1@ += 0x7BDD0
    0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0

Is there any way to add more coords to the script ? When I compile it, it says that I have reached the max conditions. Max 8 parameters or conditions or something like that ... .
Can I add more than 8 coords ? Please answer fast  :somuchwin: :ugbase:
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Yes you can, you need to post another 8 after else_jump @GetMats.

Split the amount of coords you wanna add in 8 conditions and make pairs of 8.
 
Top