/pm problem
#1

Hello, I have scripted /pm.
I type /pm [id..] heeeeeeeeeeeeeeeeyyy.....1915919591
But, It sends: heeeeeeeeeeeeeeeeyyy...

Can someone tell me the problem please?:

Код:
CMD:pm(playerid, params[])
{
	new ID, string[300], str[128];
	if(sscanf(params, "us", ID, str)) return SCM(playerid, COLOR_WHITE, ""WORD_USAGE"/pm [PLAYER_ID] [MESSAGE]");
	if(!IsPlayerConnected(ID)) return SCM(playerid, COLOR_WHITE, ""WORD_ERROR"This player is not connected.");
	
	format(string, sizeof(string), ""COL_YELLOW"[MESSAGE]{FFFFFF} To %s(%d): {C4C4C4}%s", PlayerName(ID), ID, str);
	SCM(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), ""COL_YELLOW"[MESSAGE]{FFFFFF} From %s(%d): {C4C4C4}%s", PlayerName(playerid), playerid, str);
	SCM(ID, COLOR_WHITE, string);
	return 1;
}
Reply


Messages In This Thread
/pm problem - by aCloudy - 18.04.2015, 12:30
Re: /pm problem - by 036 - 18.04.2015, 12:33
Re: /pm problem - by Azula - 18.04.2015, 12:33
Re: /pm problem - by J4Rr3x - 18.04.2015, 12:37

Forum Jump:


Users browsing this thread: 1 Guest(s)