If anyone wants the map prefix check for dr_ or deathrun_ map names, here it is.
Code I added:
Code:
public OnMapStart(){
new String:currentMap[64];
GetCurrentMap(currentMap,sizeof(currentMap));
if((StrContains(currentMap,"deathrun_",false) != 0) && (StrContains(currentMap,"dr_",false) != 0)){
SetConVarInt(deathrun_enabled,0);
}
else {
SetConVarInt(deathrun_enabled,1);
}
}
Download: