Table of Contents

Delegate Listeners.OnEntityParentChanged

Namespace
CounterStrikeSharp.API.Core
Assembly
CounterStrikeSharp.API.dll

Called when an entity's parent is changed.

[ListenerName("OnEntityParentChanged")]
public delegate void Listeners.OnEntityParentChanged(CEntityInstance entity, CEntityInstance newParent)

Parameters

entity CEntityInstance

The entity whose parent was changed.

newParent CEntityInstance

The new parent entity.