Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(LuaEngine/PlayerHooks): Add OnCanPlayerResurrect #236

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

iThorgrim
Copy link

📝 Description

This pull request introduces a new Hook in mod-eluna for player:

  • PLAYER_EVENT_ON_CAN_RESURRECT

🚨 Prerequisites

Warning

Requires the following dependency:

🆕 New Hooks Overview

Example

local function OnCanPlayerResurrect(event, player)
    return false
end
RegisterPlayerEvent(59, OnCanPlayerResurrect)

🧪 Test Case

Test Script

local function OnCanPlayerResurrect(event, player)
    return false
end
RegisterPlayerEvent(59, OnCanPlayerResurrect)

📸 Test Results

Desktop.2025-01-25.12-53-24.1.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants