local x,y,z = table.unpack(GetEntityCoords(playerPed))
local xx,yy,zz = table.unpack(GetEntityForwardVector(playerPed))
I am trying to use table.unpack, but it ain’t working. I am fairly new to coding in FiveM so any help would be appreciated.
local x,y,z = table.unpack(GetEntityCoords(playerPed))
local xx,yy,zz = table.unpack(GetEntityForwardVector(playerPed))
I am trying to use table.unpack, but it ain’t working. I am fairly new to coding in FiveM so any help would be appreciated.
bad argument #1, expected to ‘unpack’ but instead got number.
wut.
Make sure you are using the latest manifest version.