I was trying to make a Buffer NPC menu

User Tag List

Results 1 to 1 of 1
  1. #1
    mazeliadon's Avatar Member
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I was trying to make a Buffer NPC

    Using this code for the lua I crash every time I talk to my NPC help plz.


    function CreatureX_Gossip (unit, event, player)
    Unit:GossipCreateMenu (100, player, 0)
    Unit:GossipMenuAddItem (0, "Buff Me", 0, 0)
    Unit:GossipMenuAddItem (0, "Morph Me", 1, 0)
    Unit:GossipSendMenu(player)
    end

    function CreatureX_Submenus(unit, event, player, id, intid, code)
    if(intid == 0) then
    Unit:FullCastSpellOnTarget(48469, player)
    player:GossipComplete()
    end
    if(intid == 1) then
    player:SetModel(22906)
    player:GossipComplete()
    end
    end


    RegisterUnitGossipEvent(666664, 1, "CreatureX_Gossip")
    RegisterUnitGossipEvent(666664, 2, "CreatureX_Submenus")

    Nvm: just got it
    Last edited by mazeliadon; 02-22-2010 at 01:22 AM.

    I was trying to make a Buffer NPC

Similar Threads

  1. [HELP] How to make a tele npc +rep to helpers!
    By cooper101 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 03-24-2008, 01:41 PM
  2. Make a Teleport NPC??
    By Froddy in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 03-06-2008, 01:42 PM
  3. How do you make a ranged npc?
    By justsum1 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 01-28-2008, 08:37 PM
  4. How do you make a custom NPC? - Mangos
    By regnar in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 12-01-2007, 11:17 AM
  5. Making Your character NPC skined.
    By SpookyMan92 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 11-26-2007, 10:03 PM
All times are GMT -5. The time now is 02:55 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search