wp editor

This commit is contained in:
Your Name 2020-08-28 13:59:27 -06:00
parent 4d7a383de2
commit bf86fb99f2
3 changed files with 37 additions and 27 deletions

View File

@ -8,6 +8,12 @@
*/
init()
{
if(getDvar("bots_main_debug") == "")
setDvar("bots_main_debug", 0);
if(getDVarint("bots_main_debug"))
return;
load_waypoints();
thread hook_callbacks();

View File

@ -1,12 +1,13 @@
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;
#include bots\bots_funcs;
#include maps\mp\bots\_bot_utility;
init()
{
if(getDVarint("bots_main_debug"))
{
if(!getDVarint("bots_main_debug"))
return;
if(!getDVarint("developer"))
{
setdvar("developer_script", 1);
@ -30,7 +31,6 @@ init()
level waittill( "connected", player);
player thread onPlayerSpawned();
}
}
onPlayerSpawned()

View File

@ -0,0 +1,4 @@
init()
{
level thread maps\mp\bots\_wp_editor::init();
}