Raised This Month: $51 Target: $400
 12% 

[TF2] Auto Kits


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ClassicGuzzi
Veteran Member
Join Date: Oct 2013
Location: Argentina
Plugin ID:
4438
Plugin Version:
0.1.0
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Spawn and Save Medkits & Ammo packs
    Old 12-05-2014 , 13:02   [TF2] Auto Kits
    Reply With Quote #1

    Auto Kitsfor TF2

    Description
    Place and save medkits and ammo in the map. When you spawn them, they are saved in a database.
    This is based in the DarthNinja's Auto Pumpkins. This plugin is pretty basic, but it's awesome for some Orange maps that don't have any health or ammo in it.
    To spawn a kit you need to be an admin with the root flag and type !akmenu. You can also delete the nearest kit (but you have to be close to it to delete).

    Features
    • You can place small, medium and full medkits and ammokits.
    • Kits re-spawn after 10 seconds and emit the spawn sound, like normal kits.
    • The medkits don't spawn on sudden death.
    Changelog
    Quote:
    2014-12-05 (v0.1.0)
    * Initial release.
    Installation instructions
    Just place the auto_kit.smx in your sourcemod/plugins/ folder.
    This plugin doesn't have any cvar but you need to setup your database.
    The config name must be "autokits" and your database "TF2_AutoKits", here is my server's config:
    Code:
    "autokits"
    {
    	"driver"			"sqlite"
    	"host"				"localhost"
    	"database"			"TF2_AutoKits"
    	"user"				"root"
    	"pass"				""
    }
    Credit
    DarthNinja for his Auto Pumpkins plugin.

    Note: I'm not that good with SQL and my plugin uses really simple queries. Feel free to post any suggestion to improve it!
    Attached Files
    File Type: sp Get Plugin or Get Source (auto_kit.sp - 1628 views - 15.3 KB)

    Last edited by ClassicGuzzi; 12-05-2014 at 13:10.
    ClassicGuzzi is offline
     



    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 18:01.


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