native

set_user_origin

Syntax

native set_user_origin(index, const origin[3]);

Description

Moves a player to the given origin.

Parameters

index Client index
origin Origin to move a player to

Return

This function has no return value.

Error

If player is not connected or not within the range
of 1 to MaxClients.