This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Plugin Load Order?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-05-2007 , 13:55   Plugin Load Order?
Reply With Quote #1

Is there anyway to ensure plugins load in a certain order?

For example. Plugin #1 creates a CVAR. Plugin #2 uses it.

I can use a timer to delay Plugin #2 trying to use FindConVar(), but is there another way?
__________________
I'm a blast from the past!
ferret is offline
API
Veteran Member
Join Date: May 2006
Old 07-05-2007 , 16:36   Re: Plugin Load Order?
Reply With Quote #2

I would make a forward in the plugin then call it after CVar creation.
__________________
API is offline
Send a message via AIM to API
BAILOPAN
Join Date: Jan 2004
Old 07-08-2007 , 10:06   Re: Plugin Load Order?
Reply With Quote #3

Load order is undefined. Don't rely on it.
__________________
egg
BAILOPAN is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-08-2007 , 12:04   Re: Plugin Load Order?
Reply With Quote #4

Yeah I'm well pass this issue
__________________
I'm a blast from the past!
ferret is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode