Code:
new mapnahme[32]
new bool: thebool
public plugin_init(){
get_mapname(mapnahme, charsmax(mapnahme))
if (equali(mapnahme, "the_mapname")
thebool = true;
}
public client_death(id){
if (thebool)
server_print("something");
else
server_print("else");
}
Can you understand what I've done here?
__________________