View Full Version : [SOLVED] Activate gameobject if player set pvp on

11-12-2014, 10:51 AM
Hello, emudevs, i never worked with game object seriously and now need to do that.
I have game-object spawned (gates) with GUID : 165497 id : 183286, and want to gates be opened for players with pvp on, otherwise players with pvp off will see closed gates, how to do that ? eluna, c++ or possible somehow with db? :)

11-12-2014, 02:49 PM
You likely need to have the players in different phases
or code their visibility of the gate relative to them being in pvp or not in the CanNeverSee or other functions.
You could always also try sending the packets etc of the opening and closing (state) of gameobject to the players, however Im unsure if the movement system allows that without modifications, and if it does, there is most likely problems with players passing through with hacks or possibly without as well.