View Single Post
Mister_Magotchi
SourceMod Donor
Join Date: Dec 2006
Location: Nampa, Idaho
Old 12-10-2010 , 21:59   Re: Steam Group Admins
Reply With Quote #17

I don't want to be a pest about your great plugin, but I made something I think is a minor improvement to it:

In the OnPluginStart function, I added this at the end:
Code:
	if (Steam_IsConnected()) {
		g_bSteamReady = true;
	}
Normally if the plugin is reloaded while the server is running, it has to wait for the Steam_SteamServersConnected callback function to get called before it sets the g_bSteamReady variable as true, which means that the plugin won't do anything until that happens. I was having to restart my server to get the plugin working again each time I uploaded a newly compiled version (for debugging problems I was having on my end), but this fixed that.

Thanks again for a nice plugin.
Mister_Magotchi is offline