TeleportEntity

Last Updated2020-02-26
Created At2007-06-18

Teleports an entity.

native void TeleportEntity(int entity, const float origin[3] = NULL_VECTOR, const float angles[3] = NULL_VECTOR, const float velocity[3] = NULL_VECTOR)

Parameters

int entity
Client index.
const float[3] origin
New origin, or NULL_VECTOR for no change.
const float[3] angles
New angles, or NULL_VECTOR for no change.
const float[3] velocity
New velocity, or NULL_VECTOR for no change.

Return Value

void

Error

Invalid entity or client not in game, or lack of mod support.