2 cmds problems
#4

Quote:
Originally Posted by _chimera_
Посмотреть сообщение
replace carcolor to:
Grazie, provo e ti faccio sapere.

Quote:
Originally Posted by kamzaf
Посмотреть сообщение
in your sammo command the reason why you may be getting "Fist" as the weapon given could be because of this stock: GetWeaponNameByID

Please show this.
I dont think that stock is bugged since i use it for my anti weapon hack and it works like a charm, however:

pawn Код:
stock GetWeaponNameByID(wid)
{
    new gunname[32];
    switch (wid)
    {
        case    1 .. 17,
                22 .. 43,
                46 :        GetWeaponName(wid,gunname,sizeof(gunname));
        case    0:          format(gunname,32,"%s","Fist");
        case    18:         format(gunname,32,"%s","Molotov Cocktail");
        case    44:         format(gunname,32,"%s","Night Vis Goggles");
        case    45:         format(gunname,32,"%s","Thermal Goggles");
        default:            format(gunname,32,"%s","Invalid Weapon Id");

    }
    return gunname;
}
Reply


Messages In This Thread
2 cmds problems - by Face9000 - 10.05.2013, 22:42
Re: 2 cmds problems - by _chimera_ - 11.05.2013, 04:22
Re: 2 cmds problems - by kamzaf - 11.05.2013, 05:50
Re: 2 cmds problems - by Face9000 - 11.05.2013, 10:08
Re: 2 cmds problems - by Face9000 - 11.05.2013, 22:56
Re: 2 cmds problems - by Face9000 - 12.05.2013, 23:22

Forum Jump:


Users browsing this thread: 1 Guest(s)