GetPlayer Team
#2

u can use player vaariable
Код:
new whatteam[MAX_PLAYERS];
and when they join team cop u set it to
Код:
 whatteam[playerid] = 1;
and when u need to get name of team of player u use it like this
Код:
if(whatteam[playerid] ==1)
{
SendClientMessage(playerid,-1,"This player is cop");
}
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)