Little Help please TeleNPC menu

User Tag List

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

    Little Help please TeleNPC

    Heya ppl, I was wonering if somone could help me a little, Im trying to make some parts of the telenpc VIP only like VIP Tools and NonVIP tools so i need somthing like
    Code:
     if (pPlayer->GetAccountlevel() == 4)
             {
             pPlayer->ADD_GOSSIP_ITEM( 7, "VIPTools" GOSSIP_SENDER_MAIN, 5210);       
             }
             else
             {
              pPlayer->ADD_GOSSIP_ITEM( 7, "NonVIP Tools" GOSSIP_SENDER_MAIN, 2500);
             }

    Ok thats a little messy but its an example, if (pPlayer->GetAccountlevel() == 4) and that isnt right i need the right command if somone can help, its a little confusing ive been looking for some while so if anyone can help be recodnice the account level before the npc opens it will be much appreciated Thankyou!!

    Caskast



    Ok Never mind i found it if anyone was wondering it was
    Code:
    if(pPlayer->GetSession()->GetSecurity() == "Number of security level for vip/GM)
    Hope this helps somone Bai!!
    Last edited by disgustedoak; 07-12-2009 at 12:23 PM.

    Little Help please TeleNPC

Similar Threads

  1. Little help please :(
    By Masterkenshin in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 01-09-2008, 12:47 PM
  2. A little help please
    By VausIsBoss in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 12-10-2007, 03:26 AM
  3. A little help please
    By vernath in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 10-18-2007, 04:14 PM
  4. a little help please
    By trika in forum World of Warcraft Model Editing
    Replies: 5
    Last Post: 07-01-2007, 12:52 PM
  5. a little help please
    By Vital in forum World of Warcraft General
    Replies: 1
    Last Post: 10-25-2006, 06:39 PM
All times are GMT -5. The time now is 10:15 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