View Single Post
Author Message
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 10-28-2012 , 11:37   [TF2] Spin the Wheel (v1.1, 08/03/2013)
Reply With Quote #1

It's a command to spin the Wheel of Fate.

Will try to make a command to spawn a Wheel of Fate soon.

Cvars:
tf_spinwheel_version 1.1 - version cvar, do not touch.
tf_spinwheel_time 0.0 - amount of time enforced between using the sm_spin command for anybody (this is a global time limiter, not per-player). Changes to this cvar apply immediately.

Commands:
sm_spin - defaults to the Cheats admin flag. Spins the Wheel, or says "Error 404: Wheel not found." if no Wheel entity exists on the map.

Overrides:
tf_spinwheel_time_override - Defaults to Root (z) admin flag. Players with access to this override will ignore the command cooldown time.

Changelog:
Code:
1.1 - 08/03/2013
*Updated for time cvar
1.0 - 10/28/2012
*Initial release
Previous plugin views - 462
Attached Files
File Type: sp Get Plugin or Get Source (tf_spinthewheel.sp - 1910 views - 1.8 KB)
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 08-03-2013 at 16:16.
FlaminSarge is offline