23.01.2011, 18:42
static gTeam[MAX_PLAYERS];
public AntiTeamKill(playerid)
{
if (IsPlayerConnected(playerid) && gPlayerImmunity[playerid])
SetPlayerTeam(playerid, gTeam[playerid]);
return 1;
}
stock ToggleFriendlyFire(playerid, bool:toggle) { gPlayerImmunity[playerid] = !toggle;
}
How to disable it?
public AntiTeamKill(playerid)
{
if (IsPlayerConnected(playerid) && gPlayerImmunity[playerid])
SetPlayerTeam(playerid, gTeam[playerid]);
return 1;
}
stock ToggleFriendlyFire(playerid, bool:toggle) { gPlayerImmunity[playerid] = !toggle;
}
How to disable it?