View Single Post
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 07-14-2019 , 05:10   Re: Plugin does not call OnPluginStart when changing map
Reply With Quote #6

Quote:
Originally Posted by ddhoward View Post
Plugins don't restart when the map changes...?
PHP Code:
/**
 * Called when the plugin is fully initialized and all known external references 
 * are resolved. This is only called once in the lifetime of the plugin, and is 
 * paired with OnPluginEnd().
 *
 * If any run-time error is thrown during this callback, the plugin will be marked 
 * as failed.
 *
 * It is not necessary to close any handles or remove hooks in this function.  
 * SourceMod guarantees that plugin shutdown automatically and correctly releases 
 * all resources.
 *
 * @noreturn
 */
forward void OnPluginStart(); 
Further reference: https://wiki.alliedmods.net/Introduc...ng_code_to_run
__________________
xines is offline