GetValidStats();
#3

pawn Код:
if(!strcmp(hostname,Server[validhostname],false))
    {
        format(szCmd, sizeof(szCmd), "hostname %s", Server[validhostname]);
        SendRconCommand(szCmd);
    }
In this 'if' line you are checking to see if the current hostname matches Server[validhostname], instead of the opposite which is what you need. You'll want to remove the '!' to make sure the strings do NOT match.
Reply


Messages In This Thread
GetValidStats(); - by playstores - 30.03.2019, 15:51
Re: GetValidStats(); - by playstores - 30.03.2019, 16:45
Re: GetValidStats(); - by Crayder - 31.03.2019, 04:38

Forum Jump:


Users browsing this thread: 1 Guest(s)