04.08.2009, 04:43
Seif posted this long ago in useful snippets or something like that and i use it and it works exactly like it is supposed to,your teammates bullets using gTeam does not hurt you.
Код:
// top of your gamemode
forward SettingPlayerTeam();
//OnPlayerConnect
SetTimerEx("SettingPlayerTeam",10,1,"d",playerid);
//Bottom of your script
public SettingPlayerTeam()
{
for(new playerid; playerid < 200; playerid++)
SetPlayerTeam(playerid, gTeam[playerid]);
return 1;
}

