Note: You will need LCF for this to work which can be found here: svn://arcemu.info/arcscripts/Trunk/l.../0LCF_IncludesCode:function CPEACAE_Cage_asdasd_OnUseZXC(pMisc, event, player) local race = player:GetRace() if race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then -- Alliance pMisc:SetByte(LCF.GAMEOBJECT_BYTES_1,0,0) -- Open door else -- Horde pMisc:SetByte(LCF.GAMEOBJECT_BYTES_1,0,1) -- Close door end end RegisterGameObjectEvent(gameobjectid, 4, "CPEACAE_Cage_asdasd_OnUseZXC")



LinkBack URL
About LinkBacks





Reply With Quote




Bookmarks