anybody got a stock?
#1

does anybody here have a stock detecting if a player is

OnPlayerRequestClass?

cheers
Reply
#2

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;
Reply
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
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;
thanks i dint think about getplayerstate cheers
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)