Jump to content
McKay Development

JLeelan2

Member
  • Posts

    1
  • Joined

  • Last visited

JLeelan2's Achievements

  1. Hello, I am trying to send a message to the TF2 game coordinator to rename an item. I tried adding the following code TeamFortress2.prototype.nameItem = function(tagID, itemID, name) { let buffer = new ByteBuffer(16 + Buffer.byteLength(name) + 1, ByteBuffer.LITTLE_ENDIAN); buffer.writeUint64(tagID); buffer.writeUint64(itemID); buffer.writeUTF8String(name); this._send(Language.NameItem, null, buffer); } Nothing happens after I provide the item IDs and a custom name, however. I do not know how I should be constructing the bytebuffer, and it's hard to tell what I'm doing wrong since there doesn't seem to be any response from the GC at all. I would appreciate any help.
×
×
  • Create New...