26.05.2011, 20:01
Save it in a variable in OnPlayerRequestClass? This might work as well, though:
pawn Код:
stock IsPlayerInClassSelection(playerid)
return (GetPlayerState(playerid) == PLAYER_STATE_WASTED) ? true : false;