10.11.2012, 02:14
how do I make the Following team being Anti teamkill by the humans?
Is it like this?:
Is it like this?:
pawn Код:
if(gTeam[playerid] == TEAM_BLOODLINE)
{
new string[64], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
format(string, sizeof(string), "BLOODLINE ANNOUNCE: %s is now on-duty.", name);
SendClientMessageToAll(0xD40412FF, string);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerSkin(playerid, blskins[random(3)]);
SetPlayerTeam(playerid, 2); // This onee
SetPlayerTeam(playerid, 1); // and this one
}