Kód:
#include <amxmodx>
#include <amxmisc>
#include <dhudmessage>
#include <colorchat>
#define PLUGIN "Map resi"
#define VERSION "1.3"
#define AUTHOR "ultraibolya"
new round,maradt
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV","Event_start","a","1=0","2=0")
}
public Event_start(id){
round++
maradt=40-round
set_dhudmessage(0, 225, 225, -1.0, 0.24, 0, 6.0, 10.0)
show_dhudmessage(0, "Még %d kör van hátra!", maradt)
}
if(round == 39){
ColorChat(id,GREEN,"[INFÓ] ^1Az utolsó kör következik,huzzatok bele.")
}
if(round >= 40){
server_cmd("changelevel ^"de_dust2_snow^"")
}
}