Undefined symble, ehh
#1

pawn Код:
stock GetWeaponParam(id, WeaponsEnum: param)
{
    for (new i; i < sizeof(Weapons); i++)
    {
        if (Weapons[i][WeaponId] == id) return Weapons[i][param];
    }
    return 0;
}
Two Errors:
pawn Код:
Error:(33532) : error 017: undefined symbol "Weapons"
Error:(33532) : error 017: undefined symbol "i"
Line 33532:
pawn Код:
for (new i; i < sizeof(Weapons); i++)



How to define it or what to do? Please help me.
Reply


Messages In This Thread
Undefined symble, ehh - by benjaminjones - 26.02.2014, 20:49
Re: Undefined symble, ehh - by Aerotactics - 26.02.2014, 21:10
Re: Undefined symble, ehh - by benjaminjones - 26.02.2014, 21:14
Re: Undefined symble, ehh - by Aerotactics - 26.02.2014, 21:17
Re: Undefined symble, ehh - by benjaminjones - 26.02.2014, 21:24
Re: Undefined symble, ehh - by benjaminjones - 26.02.2014, 21:28
Re: Undefined symble, ehh - by Aerotactics - 26.02.2014, 21:45
Re: Undefined symble, ehh - by benjaminjones - 26.02.2014, 21:48
Re: Undefined symble, ehh - by Aerotactics - 26.02.2014, 21:49
Re: Undefined symble, ehh - by benjaminjones - 26.02.2014, 21:50

Forum Jump:


Users browsing this thread: 1 Guest(s)