https://sm.alliedmods.net/new-api/sd...TeleportEntity
PHP Code:
TeleportEntity Function
Teleports an entity.
void TeleportEntity(int entity, const float origin[3], const float angles[3], const float velocity[3])
Usually, people get the position and angles based on another entity and use
PHP Code:
float vPos[3];
GetEntPropVector(client, Prop_Data, "m_vecAbsOrigin", vPos);
float vAngles[3];
GetEntPropVector(client, Prop_Data, "m_angAbsRotation", vAngles);
TeleportEntity(entityYouWantTeleport, vPos, vAngles, NULL_VECTOR)
__________________