Help auto getmats

CihatveSavaş

Member
Joined
Oct 20, 2021
Messages
5
Reaction score
1
Location
Filistin Kudüs
I set the coordinates with samp 3dl automatic getmats, but it gives an error saying the expected parameter is 6.
{$CLEO}

0000: NOP

REPEAT
WAIT 1000
0A8D: 0@ = readMem 0xC8D4C0 sz 4 vp 0
UNTIL 0@ == 9 // SAMP_IS_READY

0ac8: 15@ = 260
0ad3: 15@ = "/getmats"

:GetMats
wait 0
if and
0256: player $PLAYER_CHAR defined
00DF: actor $PLAYER_ACTOR driving
then
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
then
0AB1: @SEND_CMD 1 15@
end
end
wait 2000
JUMP @GetMats


:SEND_CMD
{
0.3DL
0AB1: @SEND_CMD 1 $text
}
IF 0AA2: 1@ = "samp.dll"
THEN
1@ += 0x69340
0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0
/yukal instead of getmats
AddStaticVehicle(414,2458.8801,-2119.0134,13.4472,243.2623,0,0); //
AddStaticVehicle(414,2459.4546,-2118.7576,13.4474,232.9484,0,0); //
I couldn't do it, can you help me?
 
Top