Raised This Month: $ Target: $400
 0% 

Restarting server without "The game will restart in 1 second"


Post New Thread Reply   
 
Thread Tools Display Modes
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 05-26-2010 , 06:39   Re: Restarting server without "The game will restart in 1 second"
Reply With Quote #11

PHP Code:
new Handle:hCleanUpMap

public OnPluginStart() {
    
    new 
Handle:gameConf LoadGameConfigFile("cleanup.games");
    
    
StartPrepSDKCall(SDKCall_GameRules);
    
PrepSDKCall_SetFromConf(gameConfSDKConf_Signature"CleanUpMap");
    
hCleanUpMap EndPrepSDKCall();
}

stock CleanUpMap() {
    
SDKCall(hCleanUpMap);

__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 09-23-2010 , 17:16   Re: Restarting server without "The game will restart in 1 second"
Reply With Quote #12

Don't suppose anyone has the updated signature for the CleanUp call? I can't seem to locate it and attempts to find it myself have ended magnificently...
__________________

Last edited by thetwistedpanda; 09-23-2010 at 17:22.
thetwistedpanda is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 09-24-2010 , 12:59   Re: Restarting server without "The game will restart in 1 second"
Reply With Quote #13

Credits to psychonic for finding the updated signature for windows.

PHP Code:
        "Signatures"
        
{
            
"CleanUp"
            
{
                
"library"    "server"
                "windows"    "\x83\xEC\x2A\x80\xB9\x2A\x2A\x2A\x2A\x2A\x0F\x2A\x2A\x2A\x2A\x2A\x56\x6A\x00\xB9"
                "linux"        "@_ZN12CCSGameRules10CleanUpMapEv"
            
}
        } 
__________________
thetwistedpanda is offline
Benjamin1995
SourceMod Donor
Join Date: May 2009
Location: Germany
Old 06-28-2011 , 07:03   Re: Restarting server without "The game will restart in 1 second"
Reply With Quote #14

Whats the windows signature for half life 2 deathmatch?

Regards Benni
__________________
Benjamin1995 is offline
Send a message via Skype™ to Benjamin1995
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 03:32.


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