sa-mp-fixes icon indicating copy to clipboard operation
sa-mp-fixes copied to clipboard

FIX_OnPlayerSpawn

Open kolor4do opened this issue 2 years ago • 2 comments

If you use GivePlayerMoney in OnPlayerConnect the money disappears in OnPlayerSpawn

kolor4do avatar Sep 13 '21 23:09 kolor4do

+1.

LielR avatar Nov 26 '21 00:11 LielR

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.

Y-Less avatar Jan 24 '22 19:01 Y-Less