10.11.2009, 00:12
Quote:
Originally Posted by kikosalaz
i dont wanna make anymore post to not spam the forum so i'll request any thing i need here, so it wont spam the forum.
This time i need help with the team's color, i wanna know how to make team's color ids have colors like GF i'm using wasted roleplay someone know in that GM where are the colors for the factions? thanks in advance |
What ever they have there teams defined as, probably something like
pawn Код:
#define TEAM_LSPD
You will find something like this, it might vary a bit in your script.
pawn Код:
new gTeam[MAX_PLAYERS];
This is just an example.
pawn Код:
if(gTeam[playerid] == TEAM_LSPD)
{
SetPlayerColor(playerid, 0x0000FFAA);
SendClientMessage(playerid, 0x0000FFAA, "Welcome back Officer");
return 1;
}
// Other Teams would go down here as an else if statement.
else if(gTeam[playerid] == TEAM_MAFIA)
{
// Code
}