27.11.2010, 10:52
pawn Код:
COMMAND:res(playerid,giveplayerid,params[])
{
new pID, string[128];
// restricted teams here
if(PlayerTeam[playerid] == Team_Civ) return SendClientMessage(playerid,COLOR_YELLOW,"[INFO]: Un-Authorised Command Attempt!");
if(sscanf(params, "u", pID)) return SendClientMessage(playerid,COLOR_YELLOW,"[USAGE]: /res [ playerid / name ]");
format(string, sizeof(string),"[CALL]: A call from 911: A unit Has Been Dispatched to investigate your call, Please stay where you are");
SendClientMessage(pID,COLOR_YELLOW,string);
format(string,sizeof(string),"[911]: Unit %d reponding to %d's Call, Over",playerid, pID);
SendMessageToLaw(string);
return 1;
}