added a new forward for OnServerActivate
included timers from sourcemod.inc --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40649
This commit is contained in:
@@ -43,6 +43,7 @@ struct Plugin
|
||||
#include <usermessages>
|
||||
#include <events>
|
||||
#include <functions>
|
||||
#include <timers>
|
||||
|
||||
/**
|
||||
* Declare this as a struct in your plugin to expose its information.
|
||||
@@ -104,6 +105,13 @@ forward OnPluginPauseChange(bool:pause);
|
||||
*/
|
||||
forward OnGameFrame();
|
||||
|
||||
/**
|
||||
* Called when the map is loaded and configs have been parsed.
|
||||
* Note that commands are processed per-frame, and thus config
|
||||
* files may not be fully loaded until a few seconds later.
|
||||
*/
|
||||
forward OnServerLoad();
|
||||
|
||||
/**
|
||||
* Returns the calling plugin's Handle.
|
||||
*
|
||||
|
||||
@@ -67,7 +67,7 @@ funcenum Timer
|
||||
* @param flags Flags to set (such as repeatability or auto-Handle closing).
|
||||
* @return Handle to the timer object. You do not need to call CloseHandle().
|
||||
*/
|
||||
native Handle:CreateTimer(Float:interval, Timer:func, {Handle,_}:value, flags);
|
||||
native Handle:CreateTimer(Float:interval, Timer:func, {Handle,_}:value, flags=0);
|
||||
|
||||
/**
|
||||
* Kills a timer. Use this instead of CloseHandle() if you need more options.
|
||||
|
||||
Reference in New Issue
Block a user