1. Search for
Welcome Message.
2. Edit 8th line, the text in quotes by your needs.
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Map Start Message"
#define VERSION "1.0"
#define AUTHOR "Unkolix"
new const MESSAGE[] = "Your message here"
new iRound;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "event_new_round", "a", "1=0", "2=0")
register_logevent("LogEvent_GameCommencing", 2, "0=World triggered", "1=Game_Commencing")
register_event("TextMsg","Event_RoundRestart","a","2&#Game_w")
}
public event_new_round() {
iRound++;
if(iRound == 1) {
client_print(0, print_chat, MESSAGE)
}
}
public LogEvent_GameCommencing() {
iRound = 0;
}
public Event_RoundRestart() {
iRound = 0;
}