Hello again, and I'm here for a question: How to block events?
Example:
PHP Code:
include <amxmodex>
include <amxmisc>
include <cstrike>
public plugin_init() {
register_plugin("Block Event","1.0","MihaiGamerXD")
register_logevent("Block",6,"3=CTs_Win")
register_logevent("Block",6,"3=Terrorists_Win")
}
public Block() {
new mapname[32]
get_mapname(mapname,31)
if (equal(mapname,"de_dust2")) {
return PLUGIN_HANDLED;
}
return PLUGIN_CONTINUE;
}
but it doesn't work! Any ideas?