What does it do? Do you also understand that you're telling it to display the rules 120 seconds after the map is changed? I suggest you do it each time a client is put in the server and only to that client. And since you keep sending HUD Messages to the same channel, i suggest you do something like this:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
public plugin_init() {
register_plugin("Plugin", "Beta", "1932")
new szMap[ 11 ];
get_mapname( szMap, 10 );
if( equali( szMap, "de_dust2" ) ) {
server_cmd("changelevel surf_green")
server_exec()
}
if( equali( szMap, "surf_green" ) ) {
set_task(120.0, "show_rules", 54564, _, _, "b")
}
}
public show_rules()
{
set_hudmessage(255, 0, 0, 0.05, 0.2, 0, 6.0, 12.0)
show_hudmessage(0, "Surf Green Reeglid!^nKeelatud on killida:^n1. Relvaka ees!^n2. Relvaka sees!^n3. Topis!^nReeglite eirajaid karistatakse!")
}
__________________