//in your plugin init register_event("DeathMsg","death_msg","a") //later on public death_msg(id) { g_fGravity[id] = 0.0 return PLUGIN_HANDLED }