View Single Post
Mitchell
~lick~
Join Date: Mar 2010
Old 04-05-2017 , 22:25   Re: [CS:GO] Simple Teleport Protection (v1.2, 06-04-2017)
Reply With Quote #2

g_time_float isn't actually used
Also I don't think you need to Kill the timer just return Plugin_Stop at the end of the timer.
And you should atleast pass the client's userid into the timer, instead of the client's index itself, that way if the player disconnects before the timer executes you won't get an error.
and you don't need to include sdkhooks, everything you use is within sdktools.

Last edited by Mitchell; 04-05-2017 at 22:28.
Mitchell is offline