30.03.2013, 14:45
What is it that you require? Please explain more !
EDIT: I guess he needs a stock which returns true/false depending on if the player is in a certain team or not.
If that is it, it's like:
This uses GetPlayerTeam And SetPlayerTeam which hardly anyone uses. If you use custom teams, specify them here.
EDIT: I guess he needs a stock which returns true/false depending on if the player is in a certain team or not.
If that is it, it's like:
pawn Код:
stock IsPlayerInTeam( playerid, teamid )
{
if ( GetPlayerTeam( playerid ) == teamid ) return true;
else return false;
}