[Ajuda] GameMode
#1

Como tirar protecзгo do gamemode playhard? ao ligar diz que nгo tenho permissгo para ligar, vou ao gm encontro isto

pawn Код:
AntiDeAMX()
{
    new a[][] =
    {
        "Unarmed (Fist)",
        "Brass K"
    };
    #pragma unused a
}
#define BlockFile                   "Contas/ThE_pAszvez12.ini"
pawn Код:
public OnGameModeInit()
{
    AntiDeAMX();
 #if PROTECTED == 1
    {
        new ServerIP[20], ServerPort;

        GetServerVarAsString("bind",ServerIP,20);
        ServerPort = GetServerVarAsInt("port");

        if(strcmp(ServerIP,PROTECTED_IP,false) != 0 || !strlen(ServerIP)) // Check server IP.
        {
            print("1This server has not the permission to use this gamemode..");
            print("Server shutting down in 5 seconds");
            SetTimer("Exit",5000,false);

            return 0;
        }
        else if(ServerPort != PROTECTED_PORT) // If  server port is different, end server.
        {
            print("2This server has not the permission to use this gamemode.");
            print("Server shutting down in 5 seconds");
            SetTimer("Exit",5000,false);
            return 0;
        }
    }
    #endif
alguem me ajuda?
Reply


Messages In This Thread
GameMode - by MorreJaa - 15.02.2014, 23:56
Re: GameMode - by Dieguinho - 16.02.2014, 00:49
Re: GameMode - by MorreJaa - 16.02.2014, 00:56
Re: GameMode - by zSuYaNw - 16.02.2014, 01:34
Re: GameMode - by MorreJaa - 16.02.2014, 01:39
Re: GameMode - by zSuYaNw - 16.02.2014, 01:43
Re: GameMode - by MorreJaa - 16.02.2014, 01:49
Re: GameMode - by davi54723 - 16.02.2014, 02:19
Re: GameMode - by MorreJaa - 16.02.2014, 02:26
Re: GameMode - by MorreJaa - 17.02.2014, 15:31

Forum Jump:


Users browsing this thread: 3 Guest(s)