From [ZP] Round Draw Blast.
PHP Code:
{
// Blast sound
client_cmd(0, "spk %s", sound_blast)
static id, deathmsg_block
// Get current blocking state of the deathmsg
deathmsg_block = get_msg_block(g_msgDeathMsg)
// Set it to blocked
set_msg_block(g_msgDeathMsg, BLOCK_SET)
// "Eliminate" players
for (id = 1; id <= 32; id++)
if (is_user_alive(id))
user_kill(id, get_pcvar_num(cvar_keepfrags))
// Set the previous blocking state
set_msg_block(g_msgDeathMsg, deathmsg_block)
}
__________________