Thread
:
Automatic Unstucking
View Single Post
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
02-23-2007 , 13:36 Re: Automatic Unstucking
#
21
...use get_players
also don't use sizeof (especially if it's in the plugin and you can count), and if you were to use it, you would get it outside of the while loop.
also I don't see the point of amx_autounstuckwait. If you were to add another cvar, it should be one for how often the looped function happens.
Emp`
View Public Profile
Send a private message to Emp`
Find More Posts by Emp`