[Ajuda] Must be assigned to an array
#10

PT,mas como posso usar a damagedid fora da public? Por que estб dando error:
Код:
error: 017: undefined symbol "damagedid"
Codigo:
pawn Код:
new Float: X, Float: Y, Float: Z;// Vamos criar as variaveis para armazenar a posiзгo do atirador.
        GetPlayerPos(playerid, X, Y, Z);//Vamos Armazenar a posiзгo do atirador.
        if (IsPlayerInRangeOfPoint(damagedid, 5.0, X, Y, Z))// Verificamos se o player que levou o dano estб em um raio de 5 metros do atirador.
        {
            emcombate[damagedid] = 1;
            SetTimerEx("Nocombate", 5000, false, "i", playerid);
        }
pawn Код:
forward Nocombate(playerid);
public Nocombate(playerid)
{
    emcombate[damagedid] = 1;
    return 1;
}
Reply


Messages In This Thread
Must be assigned to an array - by Gabriel10101 - 17.07.2014, 22:27
Re: Must be assigned to an array - by darkxdll - 17.07.2014, 22:32
Re: Must be assigned to an array - by PT - 17.07.2014, 22:39
Re: Must be assigned to an array - by darkxdll - 17.07.2014, 22:40
Re: Must be assigned to an array - by MultiKill - 17.07.2014, 22:44
Re: Must be assigned to an array - by darkxdll - 17.07.2014, 22:45
Re: Must be assigned to an array - by MultiKill - 17.07.2014, 22:46
Re: Must be assigned to an array - by Gabriel10101 - 17.07.2014, 23:09
Re: Must be assigned to an array - by PT - 18.07.2014, 00:19
Re: Must be assigned to an array - by Gabriel10101 - 18.07.2014, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)