25.07.2010, 19:58
(
Последний раз редактировалось iggy1; 25.07.2010 в 20:31.
)
hi i have a filterscript that has two teams however when they leave the area (dmzone) they will still be in the team and wont be able to kill eachother, is there a way to reset the players team like pass -1 in SetPlayerTeam maybe? or even a simpler way?
I need them taking out of all teams(when they leave the area).
hope u understand im shit at explaining things lol
Edit: lol i thought of a way might not work as long as i use team ids 501+ we'll see
its probably not necesary as theres probably a better way.
lol that made me laugh but will probably work (i hope) then on the exit command i add SetPlayerTeam(playerid,playerid); 
If anyone knows a better way plz tell me.
Thanks in advance
I need them taking out of all teams(when they leave the area).
hope u understand im shit at explaining things lol
Edit: lol i thought of a way might not work as long as i use team ids 501+ we'll see

pawn Код:
public OnPlayerConnect(playerid)
{
SetPlayerTeam(playerid,playerid);
return 1;
}

If anyone knows a better way plz tell me.
Thanks in advance
