sa-mp-fixes
sa-mp-fixes copied to clipboard
FIX_OnPlayerSpawn
If you use GivePlayerMoney
in OnPlayerConnect
the money disappears in OnPlayerSpawn
+1.
This is in the questionable realm. Because you haven't even selected a class yet in OnPlayerConnect, most things aren't initialised, and many more are reset on spawn. While some people might like the money set there to remain, it isn't a defined behaviour so while it might not be what you want that doesn't mean it is a bug.