Skip to content

Commit 67d193e

Browse files
Fix /testspawn
1 parent 1c88a8a commit 67d193e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newmodels_azul/scripts/optional/debug/s_debug.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ end, false, false)
6363
addCommandHandler("testspawn", function(thePlayer)
6464
local x,y,z = getElementPosition(thePlayer)
6565
local _, _, rz = getElementRotation(thePlayer)
66-
spawnPlayer(thePlayer, x,y,z, rz, getElementModelMTA(thePlayer), getElementInterior(thePlayer), getElementDimension(thePlayer))
66+
spawnPlayer(thePlayer, x,y,z, rz, getElementModel(thePlayer), getElementInterior(thePlayer), getElementDimension(thePlayer))
6767
outputChatBox("Player spawned at current location with skin ID "..getElementModel(thePlayer)..".", thePlayer)
6868
end, false, false)
6969

0 commit comments

Comments
 (0)