View Single Post
Author Message
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 06-10-2011 , 01:02   [TF2] Auto Birds (Automatic Bird Spawner)
Reply With Quote #1

[TF2] Auto Birds
Version 2.0.0



Description:
Stick exploding doves places!
Birds will respawn at the start of the round.
Locations are saved per map and will sync across servers via mysql.

Commands:
  • sm_layegg
    • Spawn a bird at your feet and save the location for next round.
  • sm_breakegg
    • Disable an existing spawn location.
    • Target is your current aim.

Cvars:
  • sm_birds_version
    • Plugin Version

Install Instructions:

    1. Place AutoBirds.smx into your addons/sourcemod/plugins/ folder.
    2. Update your database.cfg file:

      Code:
      "autobirds"
      {
          "driver" "mysql"
          "host" "webserver IP"
          "database" "database name"
          "user" "database username"
          "pass" "database username password"
          //"timeout" "0"
          "port" "3306"
      }

Notes:
  • This plugin creates a table called TF2_AutoBirds and should play nice with other plugins if sharing a database.
  • It's Evil!


Version History:
  • V1.0.0
    • Initial Release
  • V2.0.0
    • General code cleanup
    • Now uses threaded connections and queries.
Total downloads as prior to last edit: 123
Attached Files
File Type: sp Get Plugin or Get Source (AutoBirds.sp - 1167 views - 5.4 KB)
__________________

Last edited by DarthNinja; 02-10-2012 at 21:41.
DarthNinja is offline