rpc c c

IlyaHL2

Активный
Автор темы
231
49
Версия MoonLoader
.026-beta
не работает почему то :(

Код:
function onSendRpc(id, bs)

    if id == 86 then
        local playerId = raknetBitStreamReadInt16(bs)
        local animLib = raknetBitStreamReadInt8(bs)
        local animName = raknetBitStreamReadInt8(bs)
        local frameDelta = raknetBitStreamReadFloat(bs)
        local loop = raknetBitStreamReadBool(bs)
        local lockX = raknetBitStreamReadBool(bs)
        local lockY = raknetBitStreamReadBool(bs)
        local freeze = raknetBitStreamReadBool(bs)
        local time = raknetBitStreamReadInt32(bs)
        
        if playerId == myId then
            print(pId, animLib, animName, frameDelta, loop, lockX, lockY, freeze, time)
        end
    end
    
end