04.09.2010, 17:35
Then use format with GameTextForPlayer instead of SendClientMessage, also be carefull with those extra parameters.
EDIT: fast example:
EDIT: fast example:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new
string[128];
if(!strcmp(cmdtext, "/test", true))
{
// Do something here
return true;
}
format(string, sizeof(string), "%s", cmdtext);
return GameTextForPlayer(playerid, string, xxx, x);
}