SA-MP Forums Archive
Saving weapons on server restart - 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: Saving weapons on server restart (/showthread.php?tid=500314)



Saving weapons on server restart - jackx3rx - 12.03.2014

Hey I was wondering how I can make players weapons save on server restart, at the moment it only saves on logout but I want it so it always saves.

If any of my script is required please ask and I will post it.

Thanks.


Re: Saving weapons on server restart - CuervO - 12.03.2014

Since 0.3z OnPlayerDisconnects gets called when the game mode exits ("exit", "gmx", "changemode"). You will not achieve this effect if closing the server by the cross, though.


AW: Saving weapons on server restart - jackx3rx - 12.03.2014

So if I stop the server server with gmx it will save?