Revert "feat(server/player): set coords function"

This reverts commit abad068eb7.
This commit is contained in:
Andyyy7666
2023-07-10 02:39:52 +02:00
parent 975b031a02
commit 593443cae5

View File

@@ -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