Click or drag to resize

EntityManagerCreate Method

Creates an entity with the specified specified entity.

Namespace:  SampSharp.Entities
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public void Create(
	EntityId entity,
	EntityId parent = default
)

Parameters

entity
Type: SampSharp.EntitiesEntityId
The identifier of the entity to be created.
parent (Optional)
Type: SampSharp.EntitiesEntityId
The parent of the entity to be created.

Implements

IEntityManagerCreate(EntityId, EntityId)
See Also