chore(server/main): Removed unused code

This commit is contained in:
Linden
2021-06-24 21:35:55 +10:00
committed by GitHub
parent 2c7215f5b9
commit 6202a9083c
-2
View File
@@ -45,8 +45,6 @@ end
function onPlayerJoined(playerId)
local identifier = ESX.GetIdentifier(playerId)
if char then identifier = char..':'..identifier end
if identifier then
if ESX.GetPlayerFromIdentifier(identifier) then
DropPlayer(playerId, ('there was an error loading your character!\nError code: identifier-active-ingame\n\nThis error is caused by a player on this server who has the same identifier as you have. Make sure you are not playing on the same Rockstar account.\n\nYour Rockstar identifier: %s'):format(identifier))