29.08.2011, 10:27
(
Последний раз редактировалось wups; 29.08.2011 в 11:34.
)
I've been reading up the wiki, and saw something new:
, as it stated, you can use a few teams in a variable like this:
So, my question is, can i add unlimited items like that? Would be nice to store my whole player inventory in one variable
pawn Код:
enum (<<= 1)
{
TEAM_NONE,
TEAM_COP = 1,
TEAM_ROBBER,
TEAM_CIV,
TEAM_CLERK,
TEAM_DRIVER,
TEAM_ADMIN
}
pawn Код:
gPlayerTeam[playerid] |= TEAM_COP;