simple cmd to dcmd, help
#6

ty, now its okey, but when i type /pvp playerid weapon weapon, i get text:

Use /duel [id] [wep1] [wep2]
or, Use Valids Weapons IDs...

whats wrong?

i think that problem is here:

pawn Код:
IsValidWeapon(weaponid)
{
        new badWeapon[21] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 40, 44, 45, 46};
        for(new i=0; i <20; i++)
            if (weaponid == badWeapon[i])
                return false;
        return true;
}
Reply


Messages In This Thread
simple cmd to dcmd, help - by jaksimaksi - 26.01.2011, 11:32
Re: simple cmd to dcmd, help - by Mean - 26.01.2011, 12:16
Re: simple cmd to dcmd, help - by jaksimaksi - 26.01.2011, 12:23
Re: simple cmd to dcmd, help - by jaksimaksi - 26.01.2011, 13:15
Re: simple cmd to dcmd, help - by Mean - 26.01.2011, 13:52
Re: simple cmd to dcmd, help - by jaksimaksi - 26.01.2011, 14:38
Re: simple cmd to dcmd, help - by DVDK - 26.01.2011, 14:58

Forum Jump:


Users browsing this thread: 4 Guest(s)