27.02.2014, 10:35
I did. Now:
The command looks:
New errors showed up:
The command looks:
pawn Код:
stock GetWeaponParam(id, WeaponsEnum: param)
{
for (new = 0; i < MAX_WEAPONS, i++); // Line 33534
{
if (Weapons[x][WeaponId] == id) return Weapons[x][param]; // Line 33536
}
return 0;
}
pawn Код:
(33534) : error 001: expected token: "-identifier-", but found "="
(33536) : error 029: invalid expression, assumed zero
(33536) : error 017: undefined symbol "x"
(33536) : error 029: invalid expression, assumed zero
(33536) : fatal error 107: too many error messages on one line