2017-03-01 21:05:40 +01:00
|
|
|
#if defined entWatch_restrictions_included
|
|
|
|
#endinput
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define entWatch_restrictions_included
|
|
|
|
|
2019-05-10 16:33:41 +02:00
|
|
|
public SharedPlugin __pl_entWatch_restrictions =
|
2017-03-01 21:05:40 +01:00
|
|
|
{
|
|
|
|
name = "entWatch-restrictions",
|
|
|
|
file = "entWatch-restrictions.smx",
|
2018-11-13 17:34:17 +01:00
|
|
|
|
2017-03-01 21:05:40 +01:00
|
|
|
#if defined REQUIRE_PLUGIN
|
|
|
|
required = 1
|
|
|
|
#else
|
|
|
|
required = 0
|
|
|
|
#endif
|
|
|
|
};
|
|
|
|
|
|
|
|
#if !defined REQUIRE_PLUGIN
|
2019-05-10 16:33:41 +02:00
|
|
|
public void __pl_entWatch_restrictions_SetNTVOptional()
|
2017-03-01 21:05:40 +01:00
|
|
|
{
|
|
|
|
MarkNativeAsOptional("EW_ClientRestrict");
|
|
|
|
MarkNativeAsOptional("EW_ClientUnrestrict");
|
|
|
|
MarkNativeAsOptional("EW_ClientRestricted");
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
native bool EW_ClientRestrict(int client, int target, int length);
|
|
|
|
native bool EW_ClientUnrestrict(int client, int target);
|
|
|
|
native bool EW_ClientRestricted(int client);
|
|
|
|
|
|
|
|
forward void EW_OnClientRestricted(int client, int target, int length);
|
|
|
|
forward void EW_OnClientUnrestricted(int client, int target);
|