SA-MP Forums Archive
save guns - 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: save guns (/showthread.php?tid=74995)



save guns - -eXo - 28.04.2009

How can I make my GM save the players weapons?


Re: save guns - Backwardsman97 - 28.04.2009

You need a login and registration system like dudb or dini. Or I guess you could do it from scratch. Kinda pointless though.


Re: save guns - -eXo - 28.04.2009

I have one, but it doesn't save weapons.


Re: save guns - Backwardsman97 - 29.04.2009

What are you using as a login/registration system?


Re: save guns - Outbreak - 29.04.2009

I'm working on something like this in Dini to save weapons then restore them next time the player logs in.

Tell me in more detail what it is you want, is it restoring the weapons?

Are they only going to be restored on the first spawn?


Re: save guns - MenaceX^ - 29.04.2009

He uses GF.

Make variebles in player's enum, then in OnPlayerUpdate/OnPlayerLogin/OnPlayerRegister
Get their ammo + guns, and save them.