LUA Flyer and Lander menu

User Tag List

Results 1 to 4 of 4
  1. #1
    shadowslayer133's Avatar Active Member
    Reputation
    61
    Join Date
    May 2008
    Posts
    313
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    LUA Flyer and Lander

    ...........
    Last edited by shadowslayer133; 08-20-2013 at 07:06 PM.

    Done by piersd
    Gamer tag - Midnight133

    LUA Flyer and Lander
  2. #2
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function On_gossip(unit, event, player)
    Unit:GossipCreateMenu(50, player, 0)
    unit:GossipMenuAddItem(0, "Fly", 3, 0)
    unit:GossipMenuAddItem(0, "Land", 4, 0)
    unit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus(unit, event, player, id, intid, code)
    if(intid == 3) then
    Player:SetFlying()
    end
    
    if(intid == 4) then
    Player:Land()
    end
    end
    
    RegisterUnitGossipEvent(75331, 1, "On_Gossip")
    RegisterUnitGossipEvent(75331, 2, "Gossip_Submenus")
    just looked over it quick corrected a few errors.. Try it i guess

  3. #3
    shadowslayer133's Avatar Active Member
    Reputation
    61
    Join Date
    May 2008
    Posts
    313
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks it works

    Done by piersd
    Gamer tag - Midnight133

  4. #4
    kreegoth's Avatar Contributor
    Reputation
    122
    Join Date
    Jun 2008
    Posts
    810
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your welcome

Similar Threads

  1. Call lua function and get result
    By starfish99 in forum WoW Memory Editing
    Replies: 4
    Last Post: 12-26-2008, 05:15 AM
  2. LUA, SQL, and C++ learning
    By lilbdiablo12 in forum WoW EMU Questions & Requests
    Replies: 11
    Last Post: 10-21-2008, 06:13 PM
  3. LUA Portal and Patch 2.4.3
    By edcbabe in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 07-29-2008, 09:33 PM
  4. Replies: 1
    Last Post: 03-23-2008, 11:34 PM
  5. [Ascent MOD] Reload LUA scripts and Script_bin!
    By Le Froid in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 01-03-2008, 10:29 PM
All times are GMT -5. The time now is 01:55 PM. 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