[Assistance] Lua menu

User Tag List

Results 1 to 10 of 10
  1. #1
    B14d3r11's Avatar Sergeant Major
    Reputation
    9
    Join Date
    Jan 2007
    Posts
    179
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Assistance] Lua

    Is there code with lua to check if the player is a Vip form lvl 1-5 or something like that because i would like to implement this into my code so that not just everyone can use the functions of the gossip.

    [Assistance] Lua
  2. #2
    Kaidos's Avatar Contributor
    Reputation
    148
    Join Date
    Jun 2008
    Posts
    324
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Only possible in C++ i think.

  3. #3
    XxCyanidexX's Avatar Member
    Reputation
    56
    Join Date
    Nov 2008
    Posts
    138
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In C++ it would be:

    Code:
    if(plr->GetSession()->CanUseCommand("1") || plr->GetSession()->CanUseCommand("2")... and so on.

  4. #4
    AngelSandy's Avatar Member
    Reputation
    19
    Join Date
    Jan 2009
    Posts
    330
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Some more information would be appreciated...

    Are you making a Lua item/NPC ?
    If it's an NPC then C++ would be the way.
    If it's an Item then Lua is fine, because then you can just choose to make the item soulbound on pickup, and then only give it to those persons who should use it. Which in this case would be the VIPs.

  5. #5
    B14d3r11's Avatar Sergeant Major
    Reputation
    9
    Join Date
    Jan 2007
    Posts
    179
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    AngelSandy that would be good, but i wasnt going to make 2 of the same it for that...

  6. #6
    AngelSandy's Avatar Member
    Reputation
    19
    Join Date
    Jan 2009
    Posts
    330
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't say so.
    Read over my text again.

  7. #7
    B14d3r11's Avatar Sergeant Major
    Reputation
    9
    Join Date
    Jan 2007
    Posts
    179
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want all players to Have telestone but some to have special commands so ur idea is make one with the script, then for Vips make another with a same script but with Added Functions.

  8. #8
    brue's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What we had on another server was if you had an item you would get some extra functions, like we had a special vip house,the vips could only enter with a key, if they didnt had the key, they event didnt have the possibilty to click the button because there was no button.

    Not that I know the command for that, to check if someone has a item(anyone knows)?

  9. #9
    B14d3r11's Avatar Sergeant Major
    Reputation
    9
    Join Date
    Jan 2007
    Posts
    179
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know the command for if they have a item the problem is that I want it to be in one Gossip Script that is on a item...

  10. #10
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well the best way to do that is with C++

    but those are some commands that could be good for the lua engines

    Code:
    pUnit:GetGMLevel()
    that would be pretty cool i guess right?
    Lunar Gaming - Reaching For The Stars

Similar Threads

  1. LUA Macro Assistance - Check if user is in guild otherwise ginvite
    By ev0 in forum WoW UI, Macros and Talent Specs
    Replies: 2
    Last Post: 09-26-2015, 12:29 PM
  2. [Lua] Need Assistance on Lua script
    By shadowslayer133 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 03-21-2009, 04:36 PM
  3. Warrior Assistance
    By Cal in forum World of Warcraft General
    Replies: 2
    Last Post: 03-27-2007, 07:39 PM
  4. Guard assistance
    By general_salsa in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 12-04-2006, 02:02 AM
  5. MWS/OpenGL, Assistance Needed.
    By Rasputin in forum World of Warcraft General
    Replies: 0
    Last Post: 11-13-2006, 10:48 PM
All times are GMT -5. The time now is 06:04 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