Quote:
Originally Posted by JasonRiggs
PHP код:
CMD:me(params[], playerid) {
new action[256],
name[MAX_PLAYER_NAME + 1],
string[256];
if (sscanf(params, "s[250]", action)) {
return SendClientMessage(0xC4C4C4FF, "Usage: /me [action]");
}
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s %s", name, action);
SendClientMessageToAll(COLOR_ME, string);
return 1;
}
Try this..
|
Now it says argument type mismatch (argument 2)