How to save load weapons?? - 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)
+--- Thread: How to save load weapons?? (
/showthread.php?tid=348304)
How to save load weapons?? -
stuoyto - 04.06.2012
Hello samp forum members,
I have been working on my player stats (PlayerInfo[MAX_PLAYERS][Info]) using the Y_INI saving system and need to save a players wepons OnDisconnect and load them OnConnact but i have never worked with weapon saving before and i dont know how to go around doing it.
Using Y_INI, could anyone explain to me how i can save a players weapons to PlayerInfo[MAX_PLAYERS][Info] and load them when they connect?
I would really appreciate it if anybody could help me.
Stuoyto