02.12.2014, 22:37
Hello, i need help about lock for a player or gang for pickup ( health and armor ). This is the code for the gang.
Код:
if(gTeam[playerid] != TEAM_xKillaz)
if(gTeam[playerid] != TEAM_xKillaz)
if(gTeam[playerid] != TEAM_xKillaz) return 0;
GivePlayerHealt(playerid,100.0);
GivePlayerArmour(playerid,100.0);
|
If i have understand what you mean you can do it:
pawn Код:
|
if (gTeam[playerid] != TEAM_xKillaz) // Doesn't allow a specific team to use pickup
{
GivePlayerHealt(playerid,100.0);
GivePlayerArmour(playerid,100.0);
}