15.12.2015, 14:12
Quote:
First of all this is script help thread, not tutorials thread.
And the problem with your code is . PHP код:
|
ZCMD has "params", which is what you write after the command.
You use sscanf to split or change those params.
Since 'params' is a string, you can easlily do this instead:
pawn Код:
if (isnull(params)) return SendClientMessage(playerid,0xEBFF00FF,"USAGE: /me [Text]");
format(string,sizeof(string),"*%s %s", pName(playerid), params);
SendClientMessageToAll(0xFF00E1FF, params);
return 1;