Resource icon

Untagged Release New auto_getmats.cs

Status
Not open for further replies.

[RP]Foolish

Active member
Joined
Mar 18, 2020
Messages
68
Reaction score
36
Location
sea
can you make that auto getmats for 0.3dl? im noob at scripting so yeah
try it

PHP:
{$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
 

Attachments

  • getmats03DL.cs
    18.9 KB · Views: 30

Laruz

Member
Joined
Apr 17, 2021
Messages
10
Reaction score
2
Location
N/A
try it

PHP:
{$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
it worked, thank you so much appreciate that
 

papidoge

New member
Joined
Nov 27, 2021
Messages
1
Reaction score
0
Location
nowehre
Hey I cant seem to get my coordinates to work...

AddPlayerClass(57,2101.0564,-106.7416,0.9479,35.2914,0,0,0,0,0,0); //
AddPlayerClass(57,2098.5986,-106.8561,0.9272,166.4078,0,0,0,0,0,0); //
AddStaticVehicle(452,2098.5076,-109.4032,-0.4951,359.1175,1,35); //


Been trying for hours now.
 
Status
Not open for further replies.
Top