Quote:
the general config is named as prefix, prefix is a first file name part untill the first _ character. That means if you got maps named de_rats_map1 de_rats_map2 then prefix is de_ and not de_rats_ !!!!
|
This plugin would be much better if you could do that.
Something like this:
Code:
new prefix[] = "de_rats_";
if (containi(mapname, prefix) == 0) // == 0 to make sure it is at the begining of the map name
{
// Code...
}
Naturally, the prefix array would be replaced with the file name or something.
__________________