Code:
register_message(23, "grenade_explosion");
public grenade_explosion()
{
if(get_msg_arg_int(1) == 3 && get_msg_arg_int (6) == 25 && get_msg_arg_int (7) == 30)
{
new Float:pos[3];
pos[0] = get_msg_arg_float(2);
pos[1] = get_msg_arg_float(3);
pos[2] = get_msg_arg_float(4);
// Code...
}
}
__________________