Update ! :somuchwin:
Added every location from xzytro's auto_getmats.cs. Tested and works on lawless rp and ng:rp
And probably every server. Here's the source code :
Code:
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
Player.Defined($PLAYER_ACTOR)
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
else_jump @GetMats
wait 0
if or
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
00EC: actor $PLAYER_ACTOR sphere 0 near_point -1520.42 2590.24 radius 5.0 5.0
else_jump @GetMats
wait 0
0AF9: samp say_msg "/getmats"
wait 2000
JUMP @GetMats
{$CLEO}
Requirements : Samp 0.3z R1 ; Cleo 4.1 ; Gta SA crack 1.0us; Sampfuncs 4.0 ;