mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
fix optional natives aaa i hate sourcepawn
This commit is contained in:
parent
1a7cdc385d
commit
4a6a728c9b
@ -740,6 +740,7 @@ public SharedPlugin __pl_shavit =
|
||||
#endif
|
||||
};
|
||||
|
||||
#if !defined REQUIRE_PLUGIN
|
||||
public void __pl_shavit_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("Shavit_StartTimer");
|
||||
@ -772,3 +773,4 @@ public void __pl_shavit_SetNTVOptional()
|
||||
MarkNativeAsOptional("Shavit_IsReplayDataLoaded");
|
||||
MarkNativeAsOptional("Shavit_FormatChat");
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -22,10 +22,9 @@
|
||||
#include <cstrike>
|
||||
#include <dynamic>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#define USES_CHAT_COLORS
|
||||
#include <shavit>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <basecomm>
|
||||
#include <rtler>
|
||||
#include <scp>
|
||||
|
||||
@ -22,12 +22,11 @@
|
||||
#include <sdktools>
|
||||
#include <geoip>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#define USES_STYLE_PROPERTIES
|
||||
#define USES_STYLE_NAMES
|
||||
#define USES_STYLE_VELOCITY_LIMITS
|
||||
#include <shavit>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <adminmenu>
|
||||
|
||||
#pragma newdecls required
|
||||
|
||||
@ -19,12 +19,13 @@
|
||||
*/
|
||||
|
||||
#include <sourcemod>
|
||||
#include <clientprefs>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#define USES_STYLE_NAMES
|
||||
#define USES_STYLE_HTML_COLORS
|
||||
#define USES_STYLE_PROPERTIES
|
||||
#include <shavit>
|
||||
#include <clientprefs>
|
||||
|
||||
#pragma newdecls required
|
||||
#pragma semicolon 1
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
#include <sdktools>
|
||||
#include <sdkhooks>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#define USES_STYLE_NAMES
|
||||
#define USES_STYLE_PROPERTIES
|
||||
#include <shavit>
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
|
||||
#include <sourcemod>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#define USES_STYLE_MULTIPLIERS
|
||||
#include <shavit>
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
#include <sdktools>
|
||||
#include <sdkhooks>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#define USES_STYLE_NAMES
|
||||
#define USES_SHORT_STYLE_NAMES
|
||||
#define USES_STYLE_PROPERTIES
|
||||
|
||||
@ -20,6 +20,8 @@
|
||||
|
||||
#include <sourcemod>
|
||||
#include <sdktools>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <shavit>
|
||||
|
||||
#pragma semicolon 1
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
#include <sourcemod>
|
||||
#include <cstrike>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#define USES_STYLE_NAMES
|
||||
#define USES_SHORT_STYLE_NAMES
|
||||
#define USES_STYLE_PROPERTIES
|
||||
|
||||
@ -21,6 +21,8 @@
|
||||
// original idea from ckSurf.
|
||||
|
||||
#include <sourcemod>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <shavit>
|
||||
|
||||
#pragma semicolon 1
|
||||
|
||||
@ -20,11 +20,10 @@
|
||||
|
||||
#include <sourcemod>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#define USES_STYLE_NAMES
|
||||
#define USES_STYLE_PROPERTIES
|
||||
#include <shavit>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <adminmenu>
|
||||
|
||||
#pragma semicolon 1
|
||||
|
||||
@ -21,9 +21,9 @@
|
||||
#include <sourcemod>
|
||||
#include <sdktools>
|
||||
#include <cstrike>
|
||||
#include <shavit>
|
||||
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <shavit>
|
||||
#include <adminmenu>
|
||||
|
||||
#pragma semicolon 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user