23.10.2011, 16:52
Similar to my old post on /me now on /do ... I do have to say local chats are my worse sections when doing script, normal cmds is normal for me...
So here is the script
And what happens is that when ever you do /do test it does [SYNTAX]: /do [Environment] no text beside that appears.
Did I missed anything in the /do script? Or made wrong?
So here is the script
pawn Код:
COMMAND:do(playerid, params[])
{
new text[128], string[128];
if(sscanf(params, "s[127]", text)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "[SYNTAX]: /do [Environment]");
format(string, sizeof(string), "** %s (( %s ))", text, Character[playerid][cName], params);
PlayerLocalMessage(15.0, playerid, string, COLOR_MEDIUMPURPLE,COLOR_MEDIUMPURPLE,COLOR_MEDIUMPURPLE,COLOR_MEDIUMPURPLE,COLOR_MEDIUMPURPLE);
return 1;
}
Did I missed anything in the /do script? Or made wrong?