Как получить 2 pickupId из данной функции?

Fluffy1560

Активный
Автор темы
278
34
Версия MoonLoader
Другое
Lua:
function onRecvRpc(id, data, size)
  if id == 95 then
    local bs = bitStreamInit(data, size)
    pickupID = bitStreamReadDWord(bs)
    pickupMODEL = bitStreamReadDWord(bs)
    local pickupTYPE = bitStreamReadDWord(bs)
    local pickupX = bitStreamReadFloat(bs)
    local pickupY = bitStreamReadFloat(bs)
    local pickupZ = bitStreamReadFloat(bs)
    bitStreamDelete(bs)
  end
end