[HELP] ZCMD Issue
#4

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;
}
Reply


Messages In This Thread
[HELP] ZCMD Issue - by [UG]Scripter - 27.11.2010, 10:34
Re: [HELP] ZCMD Issue - by Jochemd - 27.11.2010, 10:39
Re: [HELP] ZCMD Issue - by [UG]Scripter - 27.11.2010, 10:41
Re: [HELP] ZCMD Issue - by Cameltoe - 27.11.2010, 10:52
Re: [HELP] ZCMD Issue - by [UG]Scripter - 29.11.2010, 09:37
Re: [HELP] ZCMD Issue - by Cameltoe - 29.11.2010, 13:18
Re: [HELP] ZCMD Issue - by Rachael - 29.11.2010, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)