06.02.2011, 13:09
Hello,
I explain my problem,
I have 4 teams cops , terrorist ,fan etc ...
I'd like the cops can't kill each other but can kill terro and fan so I put SetPlayerTeam(playerid,1) for cops
SetPlayerTeam(playerid,2) for terrorists this working fine.
Now the fan I'd like they kill each other ! so I don't put setplayerteam but this is not working.
So I've put SetPlayerTeam(playerid,playerid). that works they can kill each other But sometimes there is friendly fire with terrorists or cops etc ... But They normally have to kill everybody even each other.
Sometimes works Sometimes it's not ...
Have I to put a timer or something ?
Thanks for helping If this problem solved It will be very fine. I try solve this for long time now.
Is SetPlyerTeam(playerid,playerid) is that for kill each other ?
I'm not sure.
Thanks!
I explain my problem,
I have 4 teams cops , terrorist ,fan etc ...
I'd like the cops can't kill each other but can kill terro and fan so I put SetPlayerTeam(playerid,1) for cops
SetPlayerTeam(playerid,2) for terrorists this working fine.
Now the fan I'd like they kill each other ! so I don't put setplayerteam but this is not working.
So I've put SetPlayerTeam(playerid,playerid). that works they can kill each other But sometimes there is friendly fire with terrorists or cops etc ... But They normally have to kill everybody even each other.
Sometimes works Sometimes it's not ...
Have I to put a timer or something ?
Thanks for helping If this problem solved It will be very fine. I try solve this for long time now.
Is SetPlyerTeam(playerid,playerid) is that for kill each other ?
I'm not sure.
Thanks!