diff --git a/ND_CharacterSelection/source/client.lua b/ND_CharacterSelection/source/client.lua index 43051a5..9cb3e7b 100644 --- a/ND_CharacterSelection/source/client.lua +++ b/ND_CharacterSelection/source/client.lua @@ -217,6 +217,7 @@ RegisterNUICallback("tpDoNot", function(data) if next(character.lastLocation) ~= nil then SetEntityCoords(ped, character.lastLocation.x, character.lastLocation.y, character.lastLocation.z, false, false, false, false) end + Citizen.Wait(500) FreezeEntityPosition(ped, true) SwitchInPlayer(ped) Citizen.Wait(500) @@ -239,4 +240,4 @@ RegisterCommand(config.changeCharacterCommand, function() end, false) -- chat suggestions -TriggerEvent("chat:addSuggestion", "/" .. config.changeCharacterCommand, "Switch your framework character.") \ No newline at end of file +TriggerEvent("chat:addSuggestion", "/" .. config.changeCharacterCommand, "Switch your framework character.")