[ProtocoLib] what is the meaning of "write(0, 500)"

Discussion in 'Plugin Development' started by LunaLunea, May 3, 2021 at 10:11 AM.

  1. Offline

    LunaLunea

    Hi !

    This is a dumb question but I can't find answers elsewhere (I already search for this in the wiki.vg) so anyone can answer this question :

    What are the meaning of "write(0, 500)"
    I know that the 0 is the index of the packet but the meaning of the 500 ?? IDK

    Thanks a lot
     
  2. Offline

    Wick

    You might need to elaborate a bit more, what packet are you writing to ?
     
  3. Offline

    Kars

    If argument 1 is the index of the packet, argument 2 is likely the value to set the respective packet to; seeing how the name of the function is 'write'.
     
    davidclue likes this.

Share This Page