OCD Fix.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <sourcemod>
|
||||
#include <sdktools>
|
||||
#include <cstrike>
|
||||
#include <AfkManager>
|
||||
#include <AFKManager>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <zombiereloaded>
|
||||
@@ -101,13 +101,13 @@ public void OnPluginStart()
|
||||
|
||||
HookEntityOutput("trigger_teleport", "OnEndTouch", Teleport_OnEndTouch);
|
||||
|
||||
AutoExecConfig(true, "plugin.AfkManager");
|
||||
AutoExecConfig(true, "plugin.AFKManager");
|
||||
}
|
||||
|
||||
public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max)
|
||||
{
|
||||
CreateNative("GetClientIdleTime", Native_GetClientIdleTime);
|
||||
RegPluginLibrary("AfkManager");
|
||||
RegPluginLibrary("AFKManager");
|
||||
|
||||
return APLRes_Success;
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
#if defined _AfkManager_Included
|
||||
#if defined _AFKManager_Included
|
||||
#endinput
|
||||
#endif
|
||||
#define _AfkManager_Included
|
||||
#define _AFKManager_Included
|
||||
|
||||
native int GetClientIdleTime(int client);
|
||||
|
||||
public SharedPlugin __pl_AfkManager =
|
||||
public SharedPlugin __pl_AFKManager =
|
||||
{
|
||||
name = "AfkManager",
|
||||
file = "AfkManager.smx",
|
||||
name = "AFKManager",
|
||||
file = "AFKManager.smx",
|
||||
#if defined REQUIRE_PLUGIN
|
||||
required = 1,
|
||||
#else
|
||||
@@ -17,7 +17,7 @@ public SharedPlugin __pl_AfkManager =
|
||||
};
|
||||
|
||||
#if !defined REQUIRE_PLUGIN
|
||||
public __pl_AfkManager_SetNTVOptional()
|
||||
public __pl_AFKManager_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("GetClientIdleTime");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user