27.05.2013, 17:43
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;
}