mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-28 07:01:49 +00:00
host func
This commit is contained in:
@ -2,6 +2,16 @@
|
||||
#include maps\mp\_utility;
|
||||
#include maps\mp\gametypes\_hud_util;
|
||||
|
||||
is_host()
|
||||
{
|
||||
return (isDefined(self.pers["bot_host"]) && self.pers["bot_host"]);
|
||||
}
|
||||
|
||||
doHostCheck()
|
||||
{
|
||||
self.pers["bot_host"] = false;
|
||||
}
|
||||
|
||||
/*
|
||||
Returns if the player is a bot.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user