[HELP] Anyone got any idea?
#1

Hello Again.
I want only my team to read this mesage.

Код:
	if (strcmp("/dispatch", cmdtext, true, 9) == 0)
	{
	  if(GetPlayerTeam(playerid) != 5) return SendClientMessage(playerid,COLOR_RED, "Identification Error - You need rank 1 to do this.");
	  new str[256], pname[256];
	  GetPlayerName(playerid, pname, 256);
	  format(str, 256, ":: Dispatcher %s:%s", pname, cmdtext[9]);
	  SendClientMessageToAll(COLOR_BLUE, str);
	  return 1;
	}
I've putted teams like this, this is team nr "5".

Код:
AddPlayerClassEx(5,288,2282.0640,2425.5608,3.4766,356.3850,3,1,41,500,24,500);
So basicly, I want only my team to read that message, I dont want everyone to read it.

Thanks
Reply


Messages In This Thread
[HELP] Anyone got any idea? - by FreddeN - 14.06.2009, 22:20
Re: [HELP] Anone got any idea? - by Weirdosport - 14.06.2009, 22:29
Re: [HELP] Anone got any idea? - by Moustafa - 14.06.2009, 23:46
Re: [HELP] Anone got any idea? - by FreddeN - 15.06.2009, 10:44
Re: [HELP] Anone got any idea? - by JoeDaDude - 15.06.2009, 10:47
Re: [HELP] Anone got any idea? - by FreddeN - 15.06.2009, 10:51
Re: [HELP] Anyone got any idea? - by JoeDaDude - 15.06.2009, 10:57
Re: [HELP] Anyone got any idea? - by FreddeN - 15.06.2009, 11:00

Forum Jump:


Users browsing this thread: 1 Guest(s)