#if defined _BotTargeting_Included #endinput #endif #define _BotTargeting_Included /** * Returns whether the client is one of the autism bots. * Throws an error if the client is invalid, not in-game or not authorized. */ native bool IsClientAutismBot(int client); /** * Returns which autism bot the client is. * Throws an error if the client is invalid, not in-game or not authorized. * * @param client Client index. * @return 1-4 for autism bot 1 to 4, 0 if the client is not an autism bot. */ native int GetClientAutismBotIndex(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"); MarkNativeAsOptional("GetClientAutismBotIndex"); } #endif