commands in the console?!
#3

Don't use that as it will clear it if you do /help, and it doesn't actually register the /clearconsole CMD, try this:
pawn Код:
public OnRconCommand(cmd[])
{
    if(!strcmp(cmd,"help",true))
    {
        print("Welcome to the admin control panel of guards vs the assassin!");
        print("The server is can be fully controlled in this window!");
        print("Your commands are the following:");
        SendRconCommand("clearconsole");
        return 1;
    }
    if(!strcmp(cmd,"clearconsole",true))
    {
        clearconsole();
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
commands in the console?! - by NicholasA - 27.05.2013, 17:20
AW: commands in the console?! - by Blackazur - 27.05.2013, 17:40
Re: commands in the console?! - by Hernando - 27.05.2013, 17:43
Re: commands in the console?! - by Scenario - 27.05.2013, 17:43
Re: commands in the console?! - by Hernando - 27.05.2013, 17:46
Re: commands in the console?! - by NicholasA - 28.05.2013, 11:16

Forum Jump:


Users browsing this thread: 1 Guest(s)