[Request]how to make a door with a key menu

User Tag List

Results 1 to 1 of 1
  1. #1
    claudenegm12's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    26
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request]how to make a door with a key

    Hi guys, i wondered how could i make a door with a key i did all what i can, used lua scripts like:
    --change here--
    local Tokenid = 123261 ---<- Item ID you need to open the door
    ---On create select Typ "1" !
    local Goid = 198446 ----<-ID from the Door
    print "Vip Door loaded"
    --don't change anything below--

    function VIPTuerOnUse1(pUnit, Event)
    local Tokencount = pUnit:GetItemCount(Tokenid)
    if Tokencount >= 1 then
    pUnit:ActivateGameObject()
    print "Access granted"
    pUnit:RegisterEvent("CloseVipTuer1", 5000, 1)
    else
    print "Access Denied"
    end
    end

    function CloseVipTuer1(pUnit, Event)
    pUnit:ActivateGameObject()
    end
    RegisterGameObjectEvent(Goid, 2, "VIPTuerOnUse1")
    it's not working also it returns in the console: that it gets a nil value i dont know why, im using arcemu with lua enabled and scripts working really good this is the only one not wokring, please anyboy help me..
    oh ya PS:i added the door(as type 1) and the item(key)
    Please reply

    Thanks

    [Request]how to make a door with a key

Similar Threads

  1. Making doors with locks/keys
    By IMASECRET in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 11-09-2007, 03:24 PM
  2. How to make a sig with photoshop cs2
    By Condor in forum Art & Graphic Design
    Replies: 1
    Last Post: 11-01-2007, 11:21 AM
  3. [Question] How to make items buyable with Marks and Token
    By Spurven in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 10-29-2007, 04:25 AM
  4. How to Make a Character with Cool Letters
    By Cyboi in forum World of Warcraft Guides
    Replies: 62
    Last Post: 08-21-2007, 01:52 PM
  5. How to make a trainer with CHEATENGINE
    By Midnight_killa in forum World of Warcraft Bots and Programs
    Replies: 28
    Last Post: 02-25-2007, 04:52 AM
All times are GMT -5. The time now is 05:01 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