Category: General Purpose
Approver: Hawk552 (427)
Join Date: Nov 2005
This plugin automaticly unstucks players when it detects its stuck.
No need for commands to unstuck
It teleports the client to the closest spot (with a max of 5 units away), without being stuck
Thanks to VEN and his Teleport Smoke Grenade plugin, for a example.
amx_autounstuck | 1/0 | Turns plugin on/off
amx_autounstuckeffects | 1/0 | Turns unstuck effects on/off
amx_autounstuckwait | default 6 | Accuracy of unstuck detecting, higher is more accurate and takes more time, value 10 takes 1 second. value 1 takes 0.1 second, do NOT set this to 0, if you dont know what to do with it, leave it on 6
< 1.0 and back, private use and other bug fixing
1.0 dedicated to release for public
1.1 changed statics positions out of loop (optimized unstucking process)
1.2 Added cvar for unstucking precision and changed the loop.
1.31 Back to get_maxplayers this fixes that some players are being skipped.
1.5 Statics should make it much faster.
Not hardcode origins to check.
Last edited by Ramono; 06-12-2011 at 07:45.