PDA

View Full Version : OnPlayerRequestClass is called every time you die


LocMax
06/04/2014, 06:21 AM
So, whenever you die you get forced to Class selection, anyone knows why and how to fix it?
I use 'ForcePlayerClassSelection' only in one command, and even if I don't use it, I still get forced to class selection after death.

VishvaJeet
06/04/2014, 06:24 AM
I think you have used this function "ForcePlayerClassSelection" OnplayerDeath/OnPlayerSpawn

LocMax
06/04/2014, 06:41 AM
I think you have used this function "ForcePlayerClassSelection" OnplayerDeath/OnPlayerSpawn

I didn't. I searched, it's only used in that one command.

VishvaJeet
06/04/2014, 06:52 AM
http://wiki.sa-mp.com/wiki/ForceClassSelection

LocMax
06/04/2014, 06:57 AM
Would that mean that TogglePlayerSpectating could cause it? I use it.