[Bug] GetInvokingResource returns nil when internal event #154
kn0pee
started this conversation in
[BUG] FiveM for GTAV Enhanced
Replies: 2 comments
|
Thanks, we are looking into it. |
0 replies
|
A fix for this bug has been implemented and is available in the latest patch b95. Please try again and let us know if the issue persists. Thanks for your help! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
When triggering an event inside the same resource as the handler, GetInvokingResource returns nil. On prior server versions, this would correctly return the name of the resource.
Easy enough to patch in script, but could cause some legacy resources to stop working.
Issue type
Server
Repro rate
Always
Server build version
FXServer-early-access b92 win32
OS
No response
CPU
No response
GPU
No response
RAM
No response
Storage type
None
Connection type
None
ISP and bandwidth
No response
DxDiag
No response
Network graph
No response
Platform
Windows
OS version / distribution
Windows 11
CPU
No response
RAM
No response
Using txAdmin?
No
Hosting provider
Self-hosted
Machine type
None
/perf endpoint output
No response
DDoS protection
No response
ulimit -n value (Linux only)
No response
Docker Compose file (Docker only)
No response
Steps to Reproduce
Expected Behavior
GetInvokingResource should return the name of the resource that the event was triggered from
Actual Behavior
GetInvokingResource returns nil
Evidence
No response
Additional Context
All reactions