HookConVarChange(g_hCvarVersion, OnVersionChanged) OnVersionChanged(g_hCvarVersion, "", "") ![]() ![]() G_hCvarVersion = CreateConVar( "smac_version", SMAC_VERSION, "SourceMod Anti-Cheat", FCVAR_PLUGIN | FCVAR_NOTIFY | FCVAR_DONTRECORD) MarkNativeAsOptional( "IRC_MsgFlaggedChannels") If ( StrEqual(sGame, "cstrike") || StrEqual(sGame, "cstrike_beta"))Įlse if ( StrEqual(sGame, "tf") || StrEqual(sGame, "tf_beta"))Įlse if ( StrEqual(sGame, "fistful_of_frags"))Įlse if ( StrEqual(sGame, "nucleardawn"))īuildPath( Path_SM, g_sLogPath, sizeof(g_sLogPath), "logs/SMAC.log") Public APLRes : AskPluginLoad2( Handle :myself, bool :late, String :error, err_max) New Handle :g_hCvarLogVerbose = INVALID_HANDLE New Handle :g_hCvarBanDuration = INVALID_HANDLE New Handle :g_hCvarWelcomeMsg = INVALID_HANDLE New Handle :g_hCvarVersion = INVALID_HANDLE Native IRC_Broadcast(IrcChannel :type, const String :format, any. ![]() Native IRC_MsgFlaggedChannels( const String :flag, const String :format, any. Native SBBanPlayer(client, target, time, String :reason) Description = "Open source anti-cheat plugin for SourceMod",
0 Comments
Leave a Reply. |