SelectiveBhop: Add natives and !bhop admin command

This commit is contained in:
BotoX
2017-05-01 12:22:51 +02:00
parent 5ce7c627e0
commit 051348fb71
2 changed files with 173 additions and 2 deletions
@@ -0,0 +1,26 @@
#if defined _SelectiveBhop_Included
#endinput
#endif
#define _SelectiveBhop_Included
native int LimitBhop(int client, bool bLimited);
native int IsBhopLimited(int client);
public SharedPlugin __pl_SelectiveBhop =
{
name = "SelectiveBhop",
file = "SelectiveBhop.smx",
#if defined REQUIRE_PLUGIN
required = 1,
#else
required = 0,
#endif
};
#if !defined REQUIRE_PLUGIN
public __pl_SelectiveBhop_SetNTVOptional()
{
MarkNativeAsOptional("LimitBhop");
MarkNativeAsOptional("IsBhopLimited");
}
#endif