How to define ''Weapons''
#3

I did. Now:
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;
}
New errors showed up:
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
Reply


Messages In This Thread
How to define ''Weapons'' - by benjaminjones - 27.02.2014, 10:17
Re: How to define ''Weapons'' - by Vince - 27.02.2014, 10:27
Re: How to define ''Weapons'' - by benjaminjones - 27.02.2014, 10:35
Re: How to define ''Weapons'' - by Mike.FTW - 27.02.2014, 13:06
Re: How to define ''Weapons'' - by benjaminjones - 27.02.2014, 13:24
Re: How to define ''Weapons'' - by benjaminjones - 27.02.2014, 13:30

Forum Jump:


Users browsing this thread: 2 Guest(s)