20.07.2016, 14:08
Use sscanf+izcmd
Izcmd: https://www.******.co.il/search?q=iz...T0BIXfUe6ZqMAM
Sscanf2: https://sampforum.blast.hk/showthread.php?tid=570927
That's easier than strcmp and start ok isn't it?
Izcmd: https://www.******.co.il/search?q=iz...T0BIXfUe6ZqMAM
Sscanf2: https://sampforum.blast.hk/showthread.php?tid=570927
PHP код:
CMD:say(playerid, params)
{
new str[128];
if(sscanf(params, "s", str)) return SendClientMessage(playerid, color, "usage /say [text]");
SendClientMessageToAllcolor, str);
Return 1;
}