03.11.2009, 12:35
Hello Everyone.
As the title says, I want a simple police radio that sends a message to a special team nummber.
This is my Team PM script, is it possible to turn this into a Police Radio, the Police Team number is 8.
Thanks for the help
As the title says, I want a simple police radio that sends a message to a special team nummber.
This is my Team PM script, is it possible to turn this into a Police Radio, the Police Team number is 8.
Код:
if (strcmp("/tpm", cmdtext, true, 4) == 0) { new str[128],pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,sizeof(pName)); format(str,sizeof(str),">>TPM (%s):%s",pName,cmdtext[4]); for(new i = 0; i < MAX_PLAYERS; i++) { if(GetPlayerTeam(i) == GetPlayerTeam(playerid)) { SendClientMessage(i,0xFFFF22AA,str); } } return 1; }
