[Ajuda] Definir 'new' ajuda!!...
#1

Olб povo, quero uma ajuda rapidinha, й o seguinte, tenho aqui uma GZ e estou modificando, e tenho que definir um negocio aqui, e nгo sei como vou definir se й para o player .. sei lб, por isso quero ajuda pessoal olha ae:

Код:
    TerroristaEmQuebrados = 0; // Tenho que definir isso 
    MilitarEmQuebrados = 0; // Tenho que definir isso
Estou usando assim:

Код:
        for (new i = 0; i < MAX_PLAYERS; i++)
        {
            if (IsPlayerConnected(i))
            {
                if (IsPlayerInPlace(i, -1412.9468,2536.2871,-1577.1643,2727.0327))
                {
                    if (PlayerInfo[i][pMembro] == 3 || PlayerInfo[i][pLider] == 3)
                    {
                        MilitarEmQuebrados++;
                    }
                    else if (PlayerInfo[i][pMembro] == 6 || PlayerInfo[i][pLider] == 6)
                    {
                        TerroristaEmQuebrados++;
                    }
                }
            }
        }
Й pq quando o carinha entra na GZ ae fica como TerroristaEmQuebrados ou MilitarEmQuebrados, ou seja, o Terrorista entrou na zona de Guerra.

Erros:
Код:
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(8980) : error 017: undefined symbol "MilitarEmQuebrados"
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(8980) : warning 215: expression has no effect
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(8988) : error 017: undefined symbol "IsPlayerInPlace"
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(8992) : error 017: undefined symbol "MilitarEmQuebrados"
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(8992) : warning 215: expression has no effect
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(8996) : error 017: undefined symbol "TerroristaEmQuebrados"
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(8996) : warning 215: expression has no effect
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(9001) : error 017: undefined symbol "TerroristaEmQuebrados"
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(9009) : error 017: undefined symbol "TerroristaEmQuebrados"
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(9016) : error 017: undefined symbol "TerroristaEmQuebrados"
C:\Documents and Settings\P.Henrique\Desktop\samp03\gamemodes\BUL.pwn(9024) : error 017: undefined symbol "TerroristaEmQuebrados"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


10 Errors.
Quero sabe se eu coloco [MAX_PLAYERS]; ou sem [MAX_PLAYERS];, ou coloco nada?
Oque devo fazer? sу isso que saber..
Reply


Messages In This Thread
GZ prolongбvel erros! - by SukMathcuck - 13.09.2014, 20:09
Re: Definir 'new' ajuda!!... - by MultiKill - 13.09.2014, 20:12
Respuesta: Definir 'new' ajuda!!... - by henrique_wwi - 13.09.2014, 20:13
Re: Definir 'new' ajuda!!... - by FallweN - 13.09.2014, 20:14
Re: Definir 'new' ajuda!!... - by SukMathcuck - 13.09.2014, 20:18
Re: Definir 'new' ajuda!!... - by SukMathcuck - 13.09.2014, 20:23
Re: Definir 'new' ajuda!!... - by FallweN - 13.09.2014, 20:29
Re: Definir 'new' ajuda!!... - by SukMathcuck - 13.09.2014, 20:32
Re: Definir 'new' ajuda!!... - by SukMathcuck - 13.09.2014, 20:36
Re: Definir 'new' ajuda!!... - by SukMathcuck - 13.09.2014, 20:42

Forum Jump:


Users browsing this thread: 1 Guest(s)