Jump to content

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

Closed 1.0.9

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

Share this comment


Link to comment

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.

Share this comment


Link to comment

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.

 

Share this comment


Link to comment

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

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.5k

Files Sold

Total number of files sold.

1.6m

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.