Thread: 667 player to npc help! rep++ and thanking

Results 1 to 7 of 7
  1. #1 667 player to npc help! rep++ and thanking 
    im 12 idk what this is.

    Join Date
    Jul 2013
    Posts
    233
    Thanks given
    39
    Thanks received
    4
    Rep Power
    18
    so im making monkey greegree's when clicked ill get them to make u a monkey but!
    whats the code to put in therE?
    like player.intonpc(id == 23) or sometihng plz tell me can't find anywhere thx!
    Reply With Quote  
     

  2. #2  
    Reverse Engineering

    freeezr's Avatar
    Join Date
    Dec 2011
    Posts
    1,067
    Thanks given
    280
    Thanks received
    443
    Rep Power
    401
    idk if this is what ur asking, but you would make a dialogue, then assign that dialogue to the npc you want, and when u click on the npc it brings up that dialogue

    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2013
    Posts
    55
    Thanks given
    3
    Thanks received
    1
    Rep Power
    12
    The code you are looking for would be this:

    Code:
    player.getAppearence().transformIntoNPC(
    							Integer.valueOf(77));
    To change what NPC the player turns into, just change the "77" to whatever the NPC ID is. At the moment, you would turn into a zombie if you used the 77.
    There you go =)

    Emily
    Reply With Quote  
     

  4. #4  
    L O S E Y O U R S E L F
    Format's Avatar
    Join Date
    Aug 2013
    Age
    22
    Posts
    2,185
    Thanks given
    1,110
    Thanks received
    994
    Discord
    View profile
    Rep Power
    5000
    Or rip from the command ::tonpc and adjust it, p.s. the integer -1 is to turn you back.
    lol saem


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,417
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Quote Originally Posted by Format View Post
    Or rip from the command ::tonpc and adjust it, p.s. the integer -1 is to turn you back.
    :npc*
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,417
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Code:
    if (itemId == XXXX) {
    player.getAppearence().transformIntoNPC(X);
    }
    Make it bring up an interface to get out of it, or unweild.
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    im 12 idk what this is.

    Join Date
    Jul 2013
    Posts
    233
    Thanks given
    39
    Thanks received
    4
    Rep Power
    18
    Quote Originally Posted by miss emily View Post
    the code you are looking for would be this:

    Code:
    player.getappearence().transformintonpc(
    							integer.valueof(77));
    to change what npc the player turns into, just change the "77" to whatever the npc id is. At the moment, you would turn into a zombie if you used the 77.
    There you go =)

    emily
    thanks !!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 7
    Last Post: 12-01-2013, 02:31 PM
  2. Adding symbols to threads? will rep++ and thank
    By Haywire in forum Application Development
    Replies: 5
    Last Post: 08-08-2012, 09:06 PM
  3. Replies: 0
    Last Post: 01-29-2012, 06:27 AM
  4. Help (rep++ and thank)
    By Norcotic in forum Application Development
    Replies: 4
    Last Post: 12-11-2011, 01:47 PM
  5. Player to NPC command REP++
    By Branco285 in forum Help
    Replies: 6
    Last Post: 03-27-2009, 12:28 AM
Tags for this Thread
npc

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •