/911 problem
#7

So. I probably this command in dcmd,but don't work.:
/911 2 text ---> wrong id!
/911 2 t
If only write one carachter (t), then work the command. But if write long text no work.
Nobody help. pls..

Код:
dcmd_911(playerid, params[])
{
	new giveplayerid,string;
	if (!sscanf(params, "ds", giveplayerid, string)){
		SendClientMessage(playerid, 0xFF0000FF, "[INFO] USAGE: /911 [plyerid] [Crime]");
	}else{
		if (IsPlayerConnected(giveplayerid))
		{
			new rname[256];
			new cname[256];
			GetPlayerName(playerid, rname, sizeof(rname));
			GetPlayerName(giveplayerid, cname, sizeof(rname));
			new temp[256];
			format(temp, sizeof(temp), "[RADIO] %s reported %s %s",rname,cname, string);
			SendClientMessageToAll(COLOR_YELLOW,temp);
		}else{
            SendClientMessage(playerid, 0xFF0000FF, "[INFO] Wrong ID");
		}
	}
	return 1;
}
Reply


Messages In This Thread
/911 problem - by gnorby88 - 04.03.2010, 18:04
Re: /911 problem - by gnorby88 - 04.03.2010, 18:21
Re: /911 problem - by Scenario - 04.03.2010, 18:27
Re: /911 problem - by gnorby88 - 04.03.2010, 19:33
Re: /911 problem - by afei - 04.03.2010, 20:26
Re: /911 problem - by gnorby88 - 04.03.2010, 22:11
Re: /911 problem - by gnorby88 - 05.03.2010, 10:14
Re: /911 problem - by Oxside - 05.03.2010, 11:09
Re: /911 problem - by bajskorv123 - 05.03.2010, 11:14
Re: /911 problem - by gnorby88 - 05.03.2010, 12:42

Forum Jump:


Users browsing this thread: 1 Guest(s)