Simple plugin that rotates a players' screen by x,y or z axis.
Should work for any source game but only tested on TF2 and CS:GO.
Dependency:
Quote:
- Sourcemod 1.7+
- Metamod 1.10+
Installation:
Quote:
1. Drag spin.cfg to cfg/sourcemod folder and modify cvar values
2. Drag spin.smx to addons/sourcemod/plugin folder
ConVars:
Quote:
sm_spin_enabled - Enable/Disables plugin
sm_spin_speed - How fast to spin player per 0.1 second. Full spin is 360 degree rotation
Commands:
Quote:
sm_spin <client> <rotations> <optional: axis> - Spins a player
client - Name of player
rotations - How many full 360 spins (1 spin = 360 degree rotation)
axis - x,y or z (If left blank/invalid, will default to z axis)
sm_stopspinning <client> - Stop spinning a player (If you start spinning someone 1000 times, you can use this to stop it)
client - Name of player
Version Log:
Quote:
1.1 -
- Fixed plugin crashing on cs:go servers
- To be more universal, color chat removed and morecolor.inc no longer needed
- Fixed sm_spin_enabled not properly disabling plugin
- When spinning ends, rotation angles are reset back to 0.0 instead of incremented