need c++ help for VIP system menu

User Tag List

Results 1 to 1 of 1
  1. #1
    bossrogue's Avatar Private
    Reputation
    1
    Join Date
    Jan 2010
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    need c++ help for VIP system

    Hello.

    something is wrong with end of script so i get some error.

    void AddSC_npc_vipmaster()
    {
    Script* newscript;

    newscript = new Script;
    newscript->Name = "npc_vipmaster";
    newscript->pGossipHello = &GossipHello_npc_vipmaster;
    newscript->pGossipSelect = &GossipSelect_npc_vipmaster;

    if (sWorld->getBoolConfig(CONFIG_VIP_ESCORT)) // We only need to use CreatureAI, when the EscortAI is enabled,
    newscript->GetAI = &GetAI_npc_vipmaster; // because we only use the EscortAI from CreatureAI
    newscript->RegisterSelf();
    }

    errors:

    c2061:syntax error:identifier 'script'
    c2065:'newscript':undeclared identifier

    somebudy knows how to fix it :\ ?

    need c++ help for VIP system

Similar Threads

  1. Need some help for edit MPQ
    By silentflower in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 10-19-2013, 05:39 AM
  2. [request] I'm korean, I need your help for mount model change!!!!
    By blueposterz in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 12-05-2008, 05:43 AM
  3. Need some help. For reskin
    By Clubsy in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 01-18-2008, 02:37 PM
  4. I need some help for an Emu Expert!
    By gr33noni in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 12-24-2007, 12:42 PM
All times are GMT -5. The time now is 09:57 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