View Single Post
blood2k
Senior Member
Join Date: Mar 2014
Old 12-24-2017 , 19:02   Re: Can some1 fix this 1 compile error..
Reply With Quote #6

I've been told the code is a little weird. But I applied the above fixes to it.

it's supposed to set a task to kick any "Unassigned" players.. but after fixing I can finally compile it.. just the plugin doesnt work as intended.

It's supposed to remove the task once it recognizes that the player joined a team already.. but instead it continues to show the countdown and still kicks regardless if the player is unassigned or assigned.

Could some1 maybe cut this down to something cleaner? 30 second timer for unassigned players, and if they assigned remove_task? Getting tired of people sitting in my pug server on map changes without getting kicked, this should limit the afk's a bit and kick them out.
blood2k is offline