Files
sm-zombiereloaded-3/env/include/BotTargeting.inc
T

31 lines
689 B
SourcePawn

#if defined _BotTargeting_Included
#endinput
#endif
#define _BotTargeting_Included
/**
* Returns whether the client is one of the BotTargeting "autism bot" SteamIDs.
*
* @param client Client index. Must be in-game and authorized, otherwise a native error is thrown.
* @return True if the client is an autism bot, false otherwise.
*/
native bool IsClientAutismBot(int client);
public SharedPlugin __pl_BotTargeting =
{
name = "BotTargeting",
file = "BotTargeting.smx",
#if defined REQUIRE_PLUGIN
required = 1,
#else
required = 0,
#endif
};
#if !defined REQUIRE_PLUGIN
public __pl_BotTargeting_SetNTVOptional()
{
MarkNativeAsOptional("IsClientAutismBot");
}
#endif