27.12.2009, 00:24
So i got this command:
I wanted the "thing" to be limited to 70 characters and if it passes 70 characters message would show but it would be missing some characters...
But this happens, it passes 70 characters and it just says UNKNOWN COMMAND...
How can i fix this ? Thank you.
pawn Код:
cmd(me, playerid, params[])
{
if(IsPlayerConnected(playerid) && PlayerLoggedIn[playerid])
{
new thing[70];
if(sscanf(params, "s",thing))
{
SendClientMessage(playerid, COLOR_HELP, "USAGE: /me [thing]");
return 1;
}
PlayerActionMessage(playerid,10.0,thing);
}
return 1;
}
But this happens, it passes 70 characters and it just says UNKNOWN COMMAND...
How can i fix this ? Thank you.

