Raised This Month: $ Target: $400

Infinite Ammo

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Veteran Member
Join Date: Jul 2004
Plugin ID:
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    Simple on/off switch for infinite ammo
    Old 05-20-2007 , 18:32   Infinite Ammo
    Reply With Quote #1

    Infinite Ammo, pretty simple concept.

    sm_iammo_enable <0|1|2> - 0 = disable infinite ammo; 1 = allow infinite ammo with the command; 2 = automatically give everyone infinite ammo

    REQUIRES Admin Kick -
    sm_iammo <user id | name | @<team> | @all> <0 | 1> - Gives or removes infinite ammo from a player.

    Setting the enable cvar to 2 will give everyone in the server infinite ammo and setting it from 2 to any other valid value will remove infinite ammo from everyone.

    Note: When removing infinite ammo, no attempt is made to set the player(s)' clip to the right size, so it will start from 50 and go down normally from there.

    Note 2 (TF2 Specific): Flamethrower still runs out of ammo eventually. The blu team is targetted using @blue instead of @blu - blame pred.
    Attached Files
    File Type: sp Get Plugin or Get Source (infiniteammo.sp - 22034 views - 3.6 KB)

    Last edited by twistedeuphoria; 06-26-2009 at 19:28.
    twistedeuphoria is offline

    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump

    All times are GMT -4. The time now is 01:01.

    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode