View Single Post
Author Message
EasyE
Junior Member
Join Date: Oct 2016
Old 02-19-2017 , 22:09   [TF2]Delaying commands
Reply With Quote #1

I've recently gotten back into sourcemod coding, and my first real plugin is going to be an event plugin.

However, I've hitten a stump where I need to wait for a player to respawn. I've found other threads about using CreateTimer(). I checked the sourcemod api for syntax, and it says that I have to call another function.
Is there any way I can not call another function, and just have the plugin continue running after the timer? I've heard of using CloseHandle(), but I'm not sure if that will do what I'm looking for, and even then I'm getting a "Number of arguments does not match definition error".
If someone could help me out with this, it would be very much appreciated.
EasyE is offline