17.06.2010, 21:18
Quote:
Originally Posted by ViruZZzZ_ChiLLL
Maybe on spawn, set their team?
pawn Код:
I think that will automatically make them have God Mode for their team-mates in-case they Shoot at their team-mates. |
pawn Код:
if(gTeam[playerid] == TEAM_COP) {
SetPlayerPos( playerid, 1573.7228,-1694.9384,6.2188);
SendClientMessage(playerid,0x1E90FFAA, "Type /commands for your commands");
SendClientMessage(playerid,0x1E90FFAA, "POLICE OFFICER: Your job is to keep criminals off the streets of San Andreas");
SendClientMessage(playerid,0x1E90FFAA, "Remember: This is not a deathmatch server. Please abide by the /rules and enjoy");
hastazer[playerid] =1;
HasLawEnforcementRadio[playerid] =1;
LawEnforcementRadio[playerid] =1;
TextDrawShowForPlayer(playerid,txtTypeSkill1);
CanChooseSkill[playerid] = 0;
SetPlayerTeam(playerid, TEAM_COP);
}
Cops are now not able to attack each other which is great, but now, When i'm a cop and i try to kill another team, it doesn't work....and no one is able to hurt me.
I just want it to cops can't hurt each other
![Sad](images/smilies/sad.gif)