How to change item using code?

Results 1 to 3 of 3
  1. #1
    Be a kicker than cheater. cheaterastic is offline
    MemberRank
    Dec 2009 Join Date
    764Posts

    How to change item using code?

    I wanted to change player item. Is there a way how?
    Change body part or weapon/melee.


  2. #2
    Account Upgraded | Title Enabled! medotarek is offline
    MemberRank
    Apr 2012 Join Date
    Egypt/RageZoneLocation
    615Posts

    Re: How to change item using code?

    packet to change character part ? O.o o.O
    it's disappointing to see eagle gunz developer asking such simple questions :)

  3. #3
    Apprentice MrPenguinGuy is offline
    MemberRank
    Nov 2016 Join Date
    5Posts

    Re: How to change item using code?

    Something like
    ZCharacter::ChangeWeapon(enum eWeapon)
    ZCharacter::OnChangeParts(enum eParts, int nID)
    I can't recall exactly but that's about right.

    Edit: ZPostRequestChangeWeapon & ZPostChangePart may also be needed, iirc they're peer-to-peer commands. So the other players can see.



Advertisement