SA-MP Forums Archive
Weapon Saving + Random Stuff - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Weapon Saving + Random Stuff (/showthread.php?tid=122383)



Weapon Saving + Random Stuff - (Jeff) - 21.01.2010

My 1st request:
How can i make a weapon saving so when i type /putgun [name] IF the player has that gun then the guns ammo and gun will be saved and removed from the players hand
when he types /getgun [name] if the player has that in his stock then it will give him.

My 2nd Request:
how can i make a Random stuff
I do /dig IF i'm job id 1 and it randomly gives me EITHER gun powder or Drugs (but only gives 1g)
so i type /dig and im in job 1 it says You found - (randomlly)
but i want it so you can only get 1g so 1g of gunpowder or 1g of drugs
please help!



Re: Weapon Saving + Random Stuff - (Jeff) - 22.01.2010

BUMP!


Re: Weapon Saving + Random Stuff - $$ Matej8700 $$ - 22.01.2010

Quote:
Originally Posted by changeme
BUMP!
pawno


Re: Weapon Saving + Random Stuff - (Jeff) - 22.01.2010

Quote:
Originally Posted by Matej8700
Quote:
Originally Posted by changeme
BUMP!
pawno
what?


Re: Weapon Saving + Random Stuff - KnooL - 22.01.2010

http://forum.sa-mp.com/index.php?topic=144062.0


Re: Weapon Saving + Random Stuff - (Jeff) - 22.01.2010

Quote:
Originally Posted by KnooL
This isn't a request, if you read properly you'll understand that I'm asking people on HOW i can do it.


Re: Weapon Saving + Random Stuff - KnooL - 22.01.2010

Well you need to make a enum that saves the players weapon info and then you only have to load it.


Re: Weapon Saving + Random Stuff - (Jeff) - 22.01.2010

Quote:
Originally Posted by KnooL
Well you need to make a enum that saves the players weapon info and then you only have to load it.
http://forum.sa-mp.com/index.php?topic=147501



Re: Weapon Saving + Random Stuff - (Jeff) - 23.01.2010

BUMP!