26.02.2014, 20:49
pawn Код:
stock GetWeaponParam(id, WeaponsEnum: param)
{
for (new i; i < sizeof(Weapons); i++)
{
if (Weapons[i][WeaponId] == id) return Weapons[i][param];
}
return 0;
}
pawn Код:
Error:(33532) : error 017: undefined symbol "Weapons"
Error:(33532) : error 017: undefined symbol "i"
pawn Код:
for (new i; i < sizeof(Weapons); i++)
How to define it or what to do? Please help me.