How do I make a Team
#8

Quote:
Originally Posted by Geekzor
Quote:
Originally Posted by mavtias
I need help to create the team, thats the most important. And I cant understand what you are saying... , well I have for sure read some topics about creating teams, but it just doesnt
explain it, I mean where to put it, How to customize etc. etc.
sry but on SA:MP WIKI i can learn on my own how to make teams (but i ahve problems with teams colors) u can find on SA:MP WIKI much about how to do teams ... try and u will see
it allso shows u how to make team colours
SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_COP)
{
SetPlayerColor(playerid, TEAM_COP_COLOR);
}
if (gTeam[playerid] == TEAM_ARMSDEALER)
{
SetPlayerColor(playerid, TEAM_ARMSDEALER_COLOR);
}
if (gTeam[playerid] == TEAM_MEDIC)
{
SetPlayerColor(playerid, TEAM_MEDIC_COLOR);
}
if (gTeam[playerid] == TEAM_KIDNAPPER)
{
SetPlayerColor(playerid, TEAM_KIDNAPPER_COLOR);
}
else if (gTeam[playerid] == TEAM_CARJACKER)
{
SetPlayerColor(playerid, TEAM_CARJACKER_COLOR);
}
}
#define TEAM_COP 1
#define TEAM_ARMSDEALER 2
#define TEAM_MEDIC 3
#define TEAM_KIDNAPPER 4
#define TEAM_CARJACKER 5
#define TEAM_CARJACKER_COLOR 0xFFFFFFAA // white
#define TEAM_KIDNAPPER_COLOR 0xFFFFFFAA // white
#define TEAM_MEDIC_COLOR 0x800080FF // purple
#define TEAM_COP_COLOR 0x0000FFFF // Blue
#define TEAM_ARMSDEALER_COLOR 0xFFFFFFAA // white
and so on
Reply


Messages In This Thread
How do I make a Team - by Mike Garber - 31.05.2009, 13:42
Re: How do I make a Team - by Ignas1337 - 31.05.2009, 13:44
Re: How do I make a Team - by Mike Garber - 31.05.2009, 14:26
Re: How do I make a Team - by Mike Garber - 31.05.2009, 15:43
Re: How do I make a Team - by madmatty - 22.06.2009, 15:08
Re: How do I make a Team - by Donny_k - 22.06.2009, 15:35
Re: How do I make a Team - by Geekzor - 22.06.2009, 19:46
Re: How do I make a Team - by madmatty - 23.06.2009, 13:47

Forum Jump:


Users browsing this thread: 1 Guest(s)