/o command by me not working well!
#5

Code here(o forgeted on first post...
pawn Код:
COMMAND:o(playerid, params[])
{
    new text;
    if(!sscanf(params, "z", text))
    {
        new name[MAX_PLAYER_NAME], string[64];
        GetPlayerName(playerid, name, sizeof(name));
        format(string, sizeof(string), "[OOC]%s say: %z ", name, text);
        SendClientMessageToAll(0xFFFFFF, string);
        return 1;
    }
    else return SendClientMessage(playerid, 0xFFFFFF, "USAGE: /o [Text]");
}
Reply


Messages In This Thread
/o command by me not working well! - by ricardo178 - 26.03.2011, 11:27
Re: /o command by me not working well! - by Jochemd - 26.03.2011, 11:28
Re: /o command by me not working well! - by iJumbo - 26.03.2011, 11:30
Re: /o command by me not working well! - by SchurmanCQC - 26.03.2011, 11:30
Re: /o command by me not working well! - by ricardo178 - 26.03.2011, 11:31
Re: /o command by me not working well! - by Jochemd - 26.03.2011, 11:32
Re: /o command by me not working well! - by iJumbo - 26.03.2011, 11:33
Re: /o command by me not working well! - by Zh3r0 - 26.03.2011, 11:35
Re: /o command by me not working well! - by leong124 - 26.03.2011, 11:35
Re: /o command by me not working well! - by Zh3r0 - 26.03.2011, 11:36

Forum Jump:


Users browsing this thread: 3 Guest(s)