pawn Код:
if(gTeam[playerid] == TEAM_BLUE)
{
SendClientMessage(playerid, COLOR_RED, "[ERROR]This is Red Team's health pickup...");
return 0;
}
if(gTeam[playerid] == TEAM_RED)
{
SendClientMessage(playerid, COLOR_RED, "[ERROR]This is Blue Team's health pickup...");
return 1; // if it doesnt work, try return 0;
}
return 0;
}