MMOCoin

Likes Likes:  0
Results 1 to 2 of 2
  1. #1
    Banned

    Join Date
    Jan 2010
    Location
    Baltimore,Maryland
    Posts
    260
    Post Thanks / Like
    Rep Power
    0
    Reputation
    87

    Lightbulb (Share)[Lua]Mohawk Script

    ---Scripted by Crumpetman---


    Code:
    local NPC_ID = Change me to your npc ID
    
    function Mohawk_OnGossip(Unit, Event, Plr)
    	Unit:GossipCreateMenu(99999, Plr, 0)
    	Unit:GossipMenuAddItem(0, "I believe in you.", 1, 0)
    	Unit:GossipSendMenu(Plr)
    end
    
    function Mohawk_OnSelect(Unit, Event, Plr, id, intid, code)
    	
    	if (intid == 1) then
    		Plr:CastSpell(55884)
    		Plr:AddItem(43489, 5)
    		Plr:GossipComplete()
    	end
    end
    
    RegisterUnitGossipEvent(NPC_ID,1,"Mohawk_OnGossip")
    RegisterUnitGossipEvent(NPC_ID,2,"Mohawk_OnSelect")
    If you want him fully blizzlike open up your database select world, go down to npc_text table and open it. make a new entry in it and type.
    entry - 99999
    prob0 - 1.0
    text0-0 - There are some who do not believe in the legendary Night Elf Mohawks.

    I pity the fools.

    Then leave the rest blank to autofill. Once thats done restart your server, clear your cache and it should work.

    If your bombs don't get added to your bags, or they don't work that isnt the scripts fault it is because they are not in your database, or don't work correctly.



    › See More: (Share)[Lua]Mohawk Script

  2. #2
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    20
    Reputation
    188

    Register to remove this ad
    Why not make a SQL for the nades and Mr T?




  3. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

 

 

Posting Permissions

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