Gun system dcmd
#6

pawn Код:
stock GetGunName(gunid, output[], len[])
{
    switch(gunid){
        case 0: return format(output, len, "Fists");
        case 1: return format(output, len, "Brass Knuckles");
    }
    return 0;
}
edit that thing yourself with all ID's. Try that. usage:

pawn Код:
new gunname[50];
GetGunName(gunid, gunname, 50);
format(str, 128, "You equpped an %s (%d)", gunname, gunid);
idk if it's gonna work. Just try it. I gotta go now. Can't help you no more.
Here are all the gun names + ID: http://weedarr.wikidot.com/gunlist
Reply


Messages In This Thread
Gun system dcmd - by xir - 06.01.2011, 18:43
Re: Gun system dcmd - by Kwarde - 06.01.2011, 18:45
Re: Gun system dcmd - by xir - 06.01.2011, 18:47
Re: Gun system dcmd - by Kwarde - 06.01.2011, 18:53
Re: Gun system dcmd - by xir - 06.01.2011, 18:57
Re: Gun system dcmd - by Kwarde - 06.01.2011, 19:01
Re: Gun system dcmd - by bartje01 - 06.01.2011, 19:08
Re: Gun system dcmd - by Kwarde - 06.01.2011, 19:09
Re: Gun system dcmd - by Kyle_Olsen - 06.01.2011, 21:34
Re: Gun system dcmd - by Kwarde - 07.01.2011, 04:33

Forum Jump:


Users browsing this thread: 3 Guest(s)