SA-MP Forums Archive
i want to set player no team how to do this? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: i want to set player no team how to do this? (/showthread.php?tid=429915)



i want to set player no team how to do this? - Configuration - 11.04.2013

hello i have event in my server when i start it and player join player are team how to mkae it for player dont ae more team?i use gTeam.


Re: i want to set player no team how to do this? - ReVo_ - 11.04.2013

enum {
NULL_TEAM,
TEAM_1,
TEAM_2,
[..]
TEAM_N,
}

gTeam[playerid] = NULL_TEAM;


Re: i want to set player no team how to do this? - MP2 - 11.04.2013

Set their team to NO_TEAM.