1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

KAG Bots not spawning in test mode

Discussion in 'Help' started by Voxxitronic, Jul 29, 2013.

Mods: makmoud98, Mazey
  1. Voxxitronic

    Voxxitronic It's an adjective Donator

    Messages:
    46
    Everything else is spawning, but not bots. It is annoying the living hell out of me. Please help.
     
  2. VanHuek

    VanHuek KAG Guard Tester

    Messages:
    751
    Is /sv_test 1 enabled and have you check ChatCommands.as?


    Code:
    if (player is null)
            return true;
     
        const bool canSpawn = sv_test || player.isMod();
     
        if (text_in == "!bot" && player.isMod()) // TODO: whoaaa check seclevs
        {
            CPlayer@ bot = AddBot( "Henry" );
            return true;
        }
     
        //spawning things
        CBlob@ blob = player.getBlob();
     
        if (blob is null) {
            return true;
        }
     
Mods: makmoud98, Mazey