register_event("DeathMsg", "player_die", "a") public player_die() { new id = read_data(2) is_holding[id] = false is_drawing[id] = false }