how can i make a team deathmach? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how can i make a team deathmach? (
/showthread.php?tid=69883)
how can i make a team deathmach? -
myandyou - 21.03.2009
i have read tuturals and i dont understand
i wanna make 5 gangs i only need setteamcolor or somthing i dont understand where i must place it and and how
sorry for bad englis
Re: how can i make a team deathmach? -
*ToM* - 21.03.2009
https://sampwiki.blast.hk/wiki/PAWN_tuto...eam_deathmatch
Its fairly easy, just put some effort in it, read it then practice.
Re: how can i make a team deathmach? -
myandyou - 21.03.2009
yes but he does it with 2 teams the colors and i wanna with 5 how it than must by?
Re: how can i make a team deathmach? -
myandyou - 21.03.2009
no i have to copy this
SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_BALLA)
{
SetPlayerColor(playerid, TEAM_BALLA_COLOR);
}
if (gTeam[playerid] == TEAM_VAGOS)
{
SetPlayerColor(playerid, TEAM_VAGOS_COLOR);
}
if (gTeam[playerid] == TEAM_COPS)
{
SetPlayerColor(playerid, TEAM_COPS_COLOR);
}
if (gTeam[playerid] == TEAM_STRIPPERS)
{
SetPlayerColor(playerid, TEAM_STRIPPERS_COLOR);
}
else if (gTeam[playerid] == TEAM_GROVE)
{
SetPlayerColor(playerid, TEAM_GROVE_COLOR);
}
but where?