How can I turn this into Local OOC?
#4

A little Bug fix. The bug is, that when you type /occ this would pop up. "((Ooc: Emanuel_Rodriguez)" it would say this when you just type /occ "USAGE: /ooc [message]". So here you go and have fun with it!

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/ooc", true, 4))
    {
        if(!cmdtext[4])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /ooc [message]");
        new str[256], pname[256];
        GetPlayerName(playerid, pname, 256);
        format(str, 256, "(( Ooc: %s:%s ))", pname, cmdtext[4]);
        SendClientMessageToAll(COLOR_BLUE, str);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
How can I turn this into Local OOC? - by FreddeN - 23.05.2009, 13:26
Re: How can I turn this into Local OOC? - by Weirdosport - 23.05.2009, 13:27
Re: How can I turn this into Local OOC? - by kacperoo - 23.05.2009, 13:41
Re: How can I turn this into Local OOC? - by Emanuel_Rodriguez - 21.07.2010, 06:38

Forum Jump:


Users browsing this thread: 1 Guest(s)