My user messages have went passed the byte limit, so I was wondering how to convert the following into a datastream:
Client:
local function LoadInventory ( UMsg ) parseSaveString(UMsg:ReadString()); end
usermessage.Hook(“load_inventory”, LoadInventory );
Server:
umsg.Start(“load_inventory”, Player)
umsg.String(PlayerInfo[1][7]);
umsg.End();
Player:parseSaveString(PlayerInfo[1][7]);
– When someone has too many items in their inventory, the size becomes too large for the usermessage, the data is stored in a SQL table. So I was wondering, what’s the best way to convert it into a datastream?
Thanks.