Unusual bug
#1

These r my cmds
Код:
CMD:me(playerid, params[])
{
	new string[256], msg[256];

	if(sscanf(params, "sz", msg)) return SendClientMessage(playerid,COLOR_RED, "SYNTAX: /me <text>");

	format(string, sizeof(string), "%s %s", GetName(playerid), msg);
	SendClientMessageToAll(COLOR_PURPLE, string);
	return 1;
}
Код:
CMD:do(playerid, params[])
{
	new string[256], msg[256];

	if(sscanf(params, "sz", msg)) return SendClientMessage(playerid,COLOR_RED, "SYNTAX: /do <text>");

	format(string, sizeof(string), "%s. ((%s))", msg, GetName(playerid));
	SendClientMessageToAll(COLOR_PURPLE, string);
	return 1;
}
./me Takes out a tissue paper.

./do Will you allow Omer ? ((Omer))

It will show as

Omer Takes
Will ((Omer))

same for /do cmd, idk why only 1st word is shown
Reply


Messages In This Thread
Unusual bug - by OmerKhan - 14.03.2018, 07:01
Re: Unusual bug - by Zeth - 14.03.2018, 07:23
Re: Unusual bug - by OmerKhan - 14.03.2018, 07:33

Forum Jump:


Users browsing this thread: 1 Guest(s)