Thread: [Solved] [Maps ] Spawn Bosses
View Single Post
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 06-21-2020 , 08:40   Re: [Maps ] Spawn Bosses
Reply With Quote #12

Quote:
Originally Posted by Foxa View Post
What are the exact map names? I'm pretty sure that there aren't maps named "Alien", "Revenant" and "Titan"..
Maybe "boss_alien", "boss_revenant" and "boss_titan"??
Also how are you getting the "mapname"?
I renamed maps according to boss names


Maybe I should use the Boss plugin download on a specific map like this?
But it still doesn’t work .
PHP Code:
#include < amxmodx >
#include < cstrike >
#include < engine >
#include < fakemeta >
#include < hamsandwich >

#define MAP_ALIEN       "Alien"
#define MAP_REVENANT    "Revenant"
#define MAP_TITAN       "Titan"

new Array:BossMap

public plugin_precache() 
{
    
BossMap ArrayCreate(128)
    
    if(
is_plugin_loaded("boss_alien.amxx"true) != -1ArrayPushString(BossMapMAP_ALIEN)
    if(
is_plugin_loaded("boss_revenant.amxx"true) != -1ArrayPushString(BossMapMAP_REVENANT)
    if(
is_plugin_loaded("boss_titan.amxx"true) != -1ArrayPushString(BossMapMAP_TITAN)

MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN