Resource icon

Untagged Release New auto_getmats.cs

Status
Not open for further replies.

godofwarz36

Active member
Joined
Jan 30, 2015
Messages
88
Reaction score
1
@ skadoodle4
Go to the location and /save there. Then you must edit the cleo file and fill your location.

The one he made for me is the one in Idlewood.(mp2)
 

skadoodle4

Member
Joined
Feb 17, 2015
Messages
6
Reaction score
0
Tried MP2 but it still doesn't work. Using SAMP 0.3z R1, sampfuncs 4.0 and server version is 0.3z R4-1000p (NG-RP)

Edit:
I also don't get any warning codes nor does it automatically type /getmats for me
 

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
10
skadoodle4 link said:
Where did you set the location for your code? I tried the one behind the big ammunition near the bank but it doesn't do anything. It doesn't crash nor does it automatically type /getmats for me.

Edit:
AddStaticVehicle(1423.7029 -1320.4717 )
Or do I have to be on foot to set the pos?

Hi. First of all, try with the car coords I left in your quote. Only this 4 numbers are used for the location. Do as [member=34958]godofwarz36[/member] saod and you should be doing fine. You  STRICTLY NEED GTA SA V1.0US, SAMP 0.3Z R1, CLEO 4.1 AND SF 4.0 !
 

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
10
skadoodle4 link said:

It's either that the script doesn't work correctly for you, or it got patched. Where I play I am using it without any problem, I'm not even staying on pc  :trollface:

Let me try in Lawless RP and Ng-RP. I will tell if it's patched.
 

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
10
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 ;
 

Attachments

  • auto_getmats update.cs
    18.5 KB · Views: 59

godofwarz36

Active member
Joined
Jan 30, 2015
Messages
88
Reaction score
1
Fu$10N link said:
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 ;

It worked!...thanks alot! What was wrong in your old one btw?  You rock man..spent so much time to help a noob like me..really appreciate it!
 

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
10
godofwarz36 link said:
It worked!...thanks alot! What was wrong in your old one btw?  You rock man..spent so much time to help a noob like me..really appreciate it!

It had something wrong in the code, so I modified it and now it works  :urtheman:
 

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
10
No reply since the update ? :forever_opcode_alone: :forever_opcode_alone:

Why  :yuno: reply ? :ugbase:
 

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
10
Go to location and the mod will type itself the command  :trollface:
 

Nhanh_NY

Member
Joined
Jan 20, 2015
Messages
5
Reaction score
0
not working !! I followed the instructions but not !! Help me
http://upanh.biz/images/2015/03/03/sa-mp-001UouiE.png
I have installed: samfuncs 4.0 - 4.1 cleo - GTA US 1.0 - Sam 0.3z
 

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
10
Nhanh_NY link said:
not working !! I followed the instructions but not !! Help me
http://upanh.biz/images/2015/03/03/sa-mp-001UouiE.png
I have installed: samfuncs 4.0 - 4.1 cleo - GTA US 1.0 - Sam 0.3z
:face_palm: :face_palm: :face_palm:
You need to edit the script command to /layvatlieu  :yuno: instead of /getmats  :table_flip:
 

Nhanh_NY

Member
Joined
Jan 20, 2015
Messages
5
Reaction score
0
Fu$10N link said:
:face_palm: :face_palm: :face_palm:
You need to edit the script command to /layvatlieu  :yuno: instead of /getmats  :table_flip:
I've replaced / layvatlieu but it still does not work !! You can share more specific ??
 

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
10
HUGE UPDATE !
Thanks to [member=111]springfield[/member] the script is now available without sampfuncs :somuchwin: Tried it and works for NG:RP and Lawless RP.

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

The script is not encrypted so the locations and the command can be changed :dont_care:
 

Attachments

  • auto_getmats no sampfuncs.cs
    18.5 KB · Views: 49

Fu$10N

Expert
Joined
Mar 5, 2014
Messages
1,101
Reaction score
10
No reply ? :forever_opcode_alone: :forever_opcode_alone: :forever_opcode_alone: :forever_opcode_alone: :forever_opcode_alone: :fuck_you:
 
Status
Not open for further replies.
Top