rcon commands aren't working
#1

It does nothing, what's wrong?
PHP код:
public OnRconCommand(cmd[])
{
    if(
strcmp(cmd"test"true) == 0)
    {
        
printf("[RCON]: You typed '/rcon %s'! and it works!"cmd);
        return 
1;
    }
     if(!
strcmp(cmd"hello"true))
    {
        
SendClientMessageToAll(0xFFFFFFAA"Hello World!");
        print(
"You said hello to the world."); // This will appear to the player who typed the rcon command in the chat in white
        
return 1;
    }
    return 
0;

Reply


Messages In This Thread
rcon commands aren't working - by EtayJ - 25.11.2016, 14:17
Re: rcon commands aren't working - by Jelly23 - 25.11.2016, 14:19
Re: rcon commands aren't working - by SyS - 25.11.2016, 14:21
Re: rcon commands aren't working - by Konstantinos - 25.11.2016, 14:26
Re: rcon commands aren't working - by SyS - 25.11.2016, 14:28

Forum Jump:


Users browsing this thread: 1 Guest(s)