plugins/include/sourcemod.inc
changeset 536 164f7d3482ef
parent 535 f255342d132f
child 540 27a380082863
     1.1 --- a/plugins/include/sourcemod.inc	Mon Feb 26 08:21:09 2007 +0000
     1.2 +++ b/plugins/include/sourcemod.inc	Mon Feb 26 08:32:20 2007 +0000
     1.3 @@ -56,7 +56,7 @@
     1.4   *
     1.5   * @noreturn
     1.6   */
     1.7 -forward OnPluginStart(Handle:myself);
     1.8 +forward OnPluginStart();
     1.9   
    1.10  /**
    1.11   *   Called before OnPluginStart, in case the plugin wants to check for load failure.
    1.12 @@ -157,6 +157,13 @@
    1.13  forward OnGameFrame();
    1.14  
    1.15  /**
    1.16 + * Returns the calling plugin's Handle.
    1.17 + *
    1.18 + * @return				Handle of the calling plugin.
    1.19 + */
    1.20 +native Handle:GetMyHandle();
    1.21 +
    1.22 +/**
    1.23   * Returns the maximum number of clients allowed on the server.
    1.24   *
    1.25   * @return				Maximum number of clients allowed.