1. These forums are being retired. Please ask all questions and help threads and any other type of discussions on GitHub. During this time, new threads and user registrations have been disabled.

Detect player position (Left or Right)

Discussion in 'Development Questions' started by dark22, Jul 18, 2014.

  1. dark22

    dark22 Level 4

    Joined:
    May 17, 2014
    Messages:
    97
    Is there any way to detect which way the player is looking / going? (Left or Right). :)
     
  2. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Yes, playerupdate packet obviously
     
  3. dark22

    dark22 Level 4

    Joined:
    May 17, 2014
    Messages:
    97
    Thanks for the reply @laurens, but could you give a sketch of how this can be done? Really have no idea, I'm still starting with codes.
     
  4. Ancientgods

    Plugin Developer Zero Day Plugin Author

    Joined:
    Sep 15, 2013
    Messages:
    712
    Look at messagebuffer.cs and netgetdata.cs, everything you need can be easily found in there.

    And no I can't help you because currently I'm on vacation and all I have is my iphone and some crappy internet.
     
  5. D.RU$$

    D.RU$$ Level 1

    Joined:
    Aug 15, 2017
    Messages:
    12
    bump
     
    • Dumb Dumb x 1