Jump to content

Here's the hook for the plugin to prevent player revive from working.

Closed 1.0.9

KintryN
KintryN

Posted (edited)

This is the hook that allows blocking the revive player, could you add the revive player blocking to the plugin?

object CanRevivePlayer(BasePlayer player, Vector3 pos)

Thank you.

Edited by Morceli
KintryN

Posted (edited)

For Survival Arena

Edited by Morceli
imthenewguy

Posted

Yeah, what plugin is reviving the player lol

imthenewguy

Posted

When is the hook called though?

CanRevivePlayer - I assume it is called when the player selects a button?
If they revive after the arena has finished, there won't be anyway to tell if their death is associated with the arena.

KintryN

Posted

When the player dies, on the screen where the respawn button appears, another button to revive also appears. The hook would be to block the appearance of the button at the time of death within the event so that the player is forced to use the respawn and exit the event correctly.

If I didn't understand your question correctly, I apologize.

 

imthenewguy

Posted

Oh perfect that answers my question thank you. I wasnt sure if the hook fired after pressing the button to respawn, or if it prevented the button from appearing in the first place.

 

  • Like 1
imthenewguy

Posted

PM me on discord for a copy to test.

im the new guy#0001

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.