Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Replace 'GetPlayerByEntityId' with 'NetworkGetPlayerIndexFromPed' #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

boy52hz
Copy link

@boy52hz boy52hz commented Nov 25, 2021

seems like 'GetPlayerByEntityId' is no longer supported and always return -1 to onPlayerKilled event so, I replace it with 'NetworkGetPlayerIndexFromPed' to make it work properly.

seems like 'GetPlayerByEntityId' is no longer supported and always return -1 to onPlayerKilled event so, I replace it with 'NetworkGetPlayerIndexFromPed' to make it work properly.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants