Slayer *gV* wrote:If you want to add this for a specific weapon, you have to check if the active-weapon is the grenade launcher and then just dont decrease the ammo-value on usage.
Other method would be to manipulate the ammo count on the pickup of the grenade launcher.
Btw: Its nice you explained the way you solved your problem, but the snippets are kinda useless
I know it Slayer but my mod is gonna be a Grenade Instagib with more features than Sushi Tee's one.
Features so far:
CHAT COMMANDS:
/gametype or /gt VALUE
eg. /gametype gtdm, gdm, gctf.
And it starts a vote.
/info <-- Most servers have it lol
/help <-- Most servers have it too lol
and ofc /cmdlist.
/infiniteammo or /ia VALUE
eg. /infiniteammo 0, 1.
This starts a vote which changes the infiniteammo into 5 shots only but if you kill someone you get refill. Also it regens ammo every 4-6 seconds.. Yes 4 seconds or 5 seconds or 6 seconds.
/admins
Will show the admins on the server
/adminsonline or /ao
Will show the admins online right now by IP not name.