mirror of
https://github.com/araxiaonline/ets-module-collection.git
synced 2026-06-13 02:52:20 -04:00
7 lines
328 B
TypeScript
7 lines
328 B
TypeScript
const TELEPORTER = 1000000;
|
|
const teleport: gameobject_event_on_use = (event, go: GameObject, player: Player) => {
|
|
player.Teleport(0, -5147.910845, 4024.771240, 59.303185, 5.775685);
|
|
return true;
|
|
};
|
|
|
|
RegisterGameObjectEvent(TELEPORTER, GameObjectEvents.GAMEOBJECT_EVENT_ON_USE, (...args) => teleport(...args));
|