From 593443cae5915f5f5ad242ab3151d6899fdbb15a Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Mon, 10 Jul 2023 02:39:52 +0200 Subject: [PATCH] Revert "feat(server/player): set coords function" This reverts commit abad068eb747274071c40ff355bd1e80792d8f8e. --- server/player.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/server/player.lua b/server/player.lua index 5f79381..952d877 100644 --- a/server/player.lua +++ b/server/player.lua @@ -100,13 +100,6 @@ local function charCreateLicense(self, licenseType, expire) if not self.source then return end ActivePlayers[self.source] = self end - -local function charSetCoords(self, coords) - if not self.source or not coords then return end - local ped = GetPlayerPed(self.source) - if not DoesEntityExist(ped) then return end - SetEntityCoords(ped, coords.x, coords.y, coords.z) - return true end local function initPlayerTable(playerTable) @@ -119,7 +112,6 @@ local function initPlayerTable(playerTable) playerTable.save = charSave, playerTable.unload = charUnload, playerTable.createLicense = charCreateLicense - playerTable.setCoords = charSetCoords return playerTable end