28.11.2009, 19:57
if its just to send to that team
if(TEAM_POLICE[playerid] == 1) //or gTeam[playerid] == TEAM_POLICE...however u using it
{
sendmessage
}
_________________________________________________
or, if u made it so u got a winner, i asume u got a global variable for points or sumin, then if ur TEAM_POLICE vs TEAM_ROBBER. and police win
if(Team_police[playeri] == 1 && PoliceScore > robbersocre)
{
sendmessage
}
if(TEAM_POLICE[playerid] == 1) //or gTeam[playerid] == TEAM_POLICE...however u using it
{
sendmessage
}
_________________________________________________
or, if u made it so u got a winner, i asume u got a global variable for points or sumin, then if ur TEAM_POLICE vs TEAM_ROBBER. and police win
if(Team_police[playeri] == 1 && PoliceScore > robbersocre)
{
sendmessage
}