Quote:
Originally Posted by Foxa
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) != -1) ArrayPushString(BossMap, MAP_ALIEN)
if(is_plugin_loaded("boss_revenant.amxx", true) != -1) ArrayPushString(BossMap, MAP_REVENANT)
if(is_plugin_loaded("boss_titan.amxx", true) != -1) ArrayPushString(BossMap, MAP_TITAN)
}