[Request] Lua. Small Question menu

Shout-Out

User Tag List

Results 1 to 2 of 2
  1. #1
    marco1234's Avatar Active Member
    Reputation
    46
    Join Date
    May 2008
    Posts
    137
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request] Lua. Small Question

    Hello MMowned.. I'm writing a LUA script for a Stone which should Teleports you to some locations. It also has Alliance City's and Horde City's etc. But I don't want that Horde players teleport them self to Alliance city's so how can I edit it so that If a horde clicks on the stone it opens Menu 1 and if an Alliance clicks on the stone it opens menu 2 with the Alliance City's. I know this is Possible in C++ but I want it for LUA.


    Questions2: Can someone give me the LUA that the stone can be used ONLY if your not in combat.


    Ofcourse I'll +Rep
    Thank you.
    I'm a proffesional DB Developer, worked for top servers like WoWScape, UberWoW etc. I can work for you aswell, add me on MSN: [email protected]
    Still looking for a host, be part of a great succes and earn much money. Add me on MSN.

    [Request] Lua. Small Question
  2. #2
    Scubast3ve's Avatar Member
    Reputation
    55
    Join Date
    Apr 2009
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Because i dont have your script ill just give you the bits you need

    Defining alliance and horde:
    Code:
    if race==1 or race==3 or race==4 or race==7 or race==11 then
    item:GossipMenuAddItem(4, "Alliance Cities", 1, 0)
    end
    local race=player:GetPlayerRace()
    if race==2 or race==5 or race==6 or race==8 or race==10 then
    item:GossipMenuAddItem(4, "Horde Cities", 2, 0)
    end
    Checking for combat:
    Code:
    if (player:IsInCombat() == true) then
    player:SendAreaTriggerMessage("You are in combat!")
    else
    If you need anything else just pm back

Similar Threads

  1. [Request] A small lua help.
    By Ellenor in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 08-30-2008, 01:33 AM
  2. [Request] LUA Scripting
    By Creepfold in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 12-31-2007, 06:28 PM
  3. A small question, please look
    By Alucard94 in forum Community Chat
    Replies: 17
    Last Post: 08-28-2007, 09:10 AM
  4. Just a small question.
    By ff9pro in forum WoW ME Questions and Requests
    Replies: 6
    Last Post: 12-14-2006, 05:23 PM
  5. A request and 2 questions
    By Osmose in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 10-14-2006, 12:10 PM
All times are GMT -5. The time now is 09:54 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