Jump to content

Crown

Members
  • Posts

    7
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Crown

  1. Red Line: Purple Line: Red Line Download Link Purple Line Download Link
  2. This a simple design I hope to see in the next versions. Hurry up and use it before everyone else . The download link is below. | How to use, in the topic pinned Here Background + Logo\text: Inside server Version icon: Download Link
  3. This issue usually happens because the interior and dimension are set before the client finishes loading the actual map for that interior. Even if the values from MySQL are correct, MTA needs a short delay after spawning so the client can stream the interior models. You can try: Option 1 – Set interior/dimension before spawning : setTimer(function() setElementInterior(player, tonumber(int)) setElementDimension(player, tonumber(dim)) spawnPlayer(player, pos[1], pos[2], pos[3] + 1, 90, skin) triggerClientEvent(player, "fixClientSpawn", root, tonumber(int), tonumber(dim)) end, 200, 1) Option 2 – Delay camera targeting on the client : addEventHandler("fixClientSpawn", root, function(int, dim) setElementInterior(localPlayer, int) setElementDimension(localPlayer, dim) setTimer(function() setCameraTarget(localPlayer) end, 200, 1) end) Also double-check that the saved position in MySQL is inside the correct interior map. If you spawn with interior = 0 while your position is in an interior location, you will only see the empty sky.
×
×
  • Create New...