And stuck again with this
#1

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

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;
}
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?
Reply


Messages In This Thread
And stuck again with this - by iNorton - 23.10.2011, 16:52
Re: And stuck again with this - by SchurmanCQC - 23.10.2011, 16:53
Re: And stuck again with this - by JaTochNietDan - 23.10.2011, 16:55
Re: And stuck again with this - by iNorton - 23.10.2011, 17:00
Re: And stuck again with this - by JaTochNietDan - 23.10.2011, 17:01
Re: And stuck again with this - by iNorton - 23.10.2011, 17:04

Forum Jump:


Users browsing this thread: 1 Guest(s)