Jump to content
  • 0

[Help]Disable To Village Buttons on death


Question

Posted

Hello Mxc ...

 

 

As title says i want to disable "To Village"/"To Fotress"/"To ClanHall" buttons

on death but only in a Custom Zone i had made...

 

 

Is this posible ?

 

Thanks in advance ...!

1 answer to this question

Recommended Posts

  • 0
Posted

Die serverpacket leads behavior of the little window appearing at death showing the different links.

 

Do a simple check where the player was at death (isInsideZone) ; if true all values are setup to 0, if wrong normal behavior is applied. So far on IL there's 6 values (1 is normal teleport, 3 are clans related, 1 is GM FIXED, 1 is sweep glow).

 

Beware the character will be stuck dead if you don't allow any other mean to ress. You can too rework the "to village" button (RequestRestartPoint clientpacket).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock