Raised This Month: $51 Target: $400
 12% 

OnConfigsExecuted()


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 01-11-2015 , 16:27   OnConfigsExecuted()
Reply With Quote #1

Ciao guys,

I got problems with OnConfigsExecuted(). When I start server, my OnConfigsExecuted() is not called and that causes me a lot of problems...

my code:
PHP Code:
public OnConfigsExecuted()
{
    
LogMessage("!!! TEST MESSAGE !!!");
    
LoadLogging();
    
LoadConVars();
    
HookConVarsChange();
    
    if (
g_iFriendlyFire == 1) {
        
SetConVarIntSilent("mp_friendlyfire"1);
    }

KissLick is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 01-11-2015 , 23:55   Re: OnConfigsExecuted()
Reply With Quote #2

Are you sure all of these conditions listed in here have been met?

https://sm.alliedmods.net/api/index....d=show&id=582&
Potato Uno is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 01-12-2015 , 00:47   Re: OnConfigsExecuted()
Reply With Quote #3

Any error logs?

If an error occurs within this function, it makes everything else not fire.
__________________
Chdata is offline
bigborther
Member
Join Date: Feb 2014
Location: china
Old 02-06-2023 , 11:28   Re: OnConfigsExecuted()
Reply With Quote #4

try to set
HTML Code:
sv_hibernate_when_empty 0
in your server.cfg. Tested successfully!
ref: https://forums.alliedmods.net/showthread.php?t=187962
bigborther 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 07:02.


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