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!