View Single Post
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 02-27-2015 , 18:54   Re: [CS:GO] Pug Setup (v1.3.3, 2015-2-22)
Reply With Quote #232

Quote:
Originally Posted by Exolent[jNr] View Post
Is OnMapStart() called if a plugin is loaded in the middle of the map?
When I was testing I didn't bother changing maps or stop the server or anything.
I just used "sm plugins refresh" to reload all plugins when I upgraded them all.
That's a good question - I'm guessing they probably don't. Generally my plugins don't work well with late-loading. (which is a sacrifice I'm willing to make, frankly)

Edit: now that I think about it, I could probably just read the file in OnPluginStart and write it out every so often and it should be fine still. The issue was just the re-importing of the file over the existing data structure.
__________________

Last edited by splewis; 02-27-2015 at 18:55.
splewis is offline