diff --git a/samp/events/bitstream_io.lua b/samp/events/bitstream_io.lua index 951e255..f4b6d02 100644 --- a/samp/events/bitstream_io.lua +++ b/samp/events/bitstream_io.lua @@ -51,7 +51,7 @@ BitStreamIO.string16 = { return raknetBitStreamReadString(bs, len) end, write = function(bs, value) - raknetBitStreamReadInt16(bs, #value) + raknetBitStreamWriteInt16(bs, #value) raknetBitStreamWriteString(bs, value) end }