Skip to content

GetEntitySlot

Description

Gets the slot ID of an entity.

Parameters

entity

The entity to retrieve the slot ID of.

Return Value

Returns the slot ID of the entity as an int32.

Syntax

RSDK.GetEntitySlot(void *entity);
entity->Slot();

Example

int32 entitySlot = RSDK.GetEntitySlot(self);
int32 entitySlot = this->Slot();