pawn-lang/sa-mp-fixes

FIX_OnPlayerSpawn

kolor4do opened this issue · 2 comments

If you use GivePlayerMoney in OnPlayerConnect the money disappears in OnPlayerSpawn

LielR commented

+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.