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
CEntityInstanceThe entity whose parent was changed.
newParent
CEntityInstanceThe new parent entity.