14.06.2009, 22:20
Hello Again.
I want only my team to read this mesage.
I've putted teams like this, this is team nr "5".
So basicly, I want only my team to read that message, I dont want everyone to read it.
Thanks
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;
}
Код:
AddPlayerClassEx(5,288,2282.0640,2425.5608,3.4766,356.3850,3,1,41,500,24,500);
Thanks

