GetPlayer Team
#3

Something like that:
pawn Код:
#define TEAM_POLICE         0
#define TEAM_MAFIA          1
#define TEAM_BLAH            2
#define TEAM_CIVILIAN       3


new teamNames[][] = {
    {"Police"},
    {"Mafia"},
    {"Blah"},
    {"Civilian"}
};

GetPlayerTeamName(playerid)
{
    new name[24];
    format(name, sizeof name, "%s", teamNames[GetPlayerTeam(playerid)]);
    return name;
}
Reply


Messages In This Thread
GetPlayer Team - by STONEGOLD - 21.06.2015, 10:19
Re: GetPlayer Team - by Dusan01 - 21.06.2015, 10:23
Re: GetPlayer Team - by [XST]O_x - 21.06.2015, 10:31
Re: GetPlayer Team - by STONEGOLD - 21.06.2015, 10:56
Re: GetPlayer Team - by STONEGOLD - 21.06.2015, 10:59
Re: GetPlayer Team - by Dusan01 - 21.06.2015, 11:06
Re: GetPlayer Team - by [XST]O_x - 21.06.2015, 11:14
Re: GetPlayer Team - by STONEGOLD - 21.06.2015, 11:55
Re: GetPlayer Team - by Dusan01 - 21.06.2015, 11:59
Re: GetPlayer Team - by STONEGOLD - 22.06.2015, 04:50

Forum Jump:


Users browsing this thread: 1 Guest(s)