Only for one team
#1

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!"?
Reply
#2

We don't know which script are you using , we don't know what functions have you created ...
Reply
#3

If you use gTeam use if(gTeam[playerid] == TEAM_BLABLA) { ... }
Reply
#4

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
}
Reply
#5

pawn Код:
if(gTeam[playerid] == TEAM_POLICE)
    SendClientMessage(playerid, COLOR_RED, "Good Work!" )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)