OOC Disable command
#1

Hello, well im making a RPG script(all from start)

I just need to add 3 more things to get the server up for Roleplay, and here is one of them things, I really need a OOC Disable command but I dont understand how to add it, maybe someone could help me?

OOC:

Код:
// OOC
    if(!strcmp(cmdtext, "/ooc", true,4)){
    if(!strlen(cmdtext[4])) SendClientMessage(playerid, 0xffffffff, "USAGE: /ooc [text]");
    else {
        new tmp[192];
        GetPlayerName(playerid,tmp,24);
        format(tmp,192,"((OOC - %s: %s))",tmp,cmdtext[5]);
        SendClientMessageToAll(0xFFFFFFAA,tmp);
        print(tmp);
    }
    return 1;
 }
Reply


Messages In This Thread
OOC Disable command - by Compton - 15.07.2011, 14:01
Re: OOC Disable command - by Yakushi Icefox - 15.07.2011, 14:09
Re: OOC Disable command - by Compton - 15.07.2011, 14:16
Re: OOC Disable command - by Adil - 15.07.2011, 14:17
Re: OOC Disable command - by Compton - 15.07.2011, 14:26
Re: OOC Disable command - by Yakushi Icefox - 15.07.2011, 14:28
Re: OOC Disable command - by Compton - 15.07.2011, 14:38
Re: OOC Disable command - by [MG]Dimi - 15.07.2011, 14:51
Re: OOC Disable command - by Yakushi Icefox - 15.07.2011, 14:59
Re: OOC Disable command - by Adil - 15.07.2011, 16:11

Forum Jump:


Users browsing this thread: 1 Guest(s)