Posts: 284
Threads: 65
Joined: Jul 2009
Reputation:
0
At the and of gamemode, how will I make that only for one team, example "TEAM_POLICE" come message: "Good Work!", and for "TEAM_WORKERS" - "Bad!"?
Posts: 213
Threads: 40
Joined: Nov 2009
Reputation:
0
We don't know which script are you using , we don't know what functions have you created ...
Posts: 2,929
Threads: 160
Joined: Feb 2009
Reputation:
0
If you use gTeam use if(gTeam[playerid] == TEAM_BLABLA) { ... }
Posts: 268
Threads: 60
Joined: Apr 2009
Reputation:
0
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
}