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

GetPlayerToken #91

Closed
dambro1990 opened this issue Jan 19, 2024 · 3 comments · Fixed by #95
Closed

GetPlayerToken #91

dambro1990 opened this issue Jan 19, 2024 · 3 comments · Fixed by #95

Comments

@dambro1990
Copy link

[ c-scripting-core] InvokeNative: execution failed: Argument at index 0 was null.
[ script:FIREAC] SCRIPT ERROR: Execution of native 0000000054c06897 in script host failed: Argument at index 0 was null.
[ script:FIREAC] > GetPlayerToken (errore_fireac.lua:6)
[ script:FIREAC] > handler (@FIREAC/src/fire-server.lua:1293)

@JustAuramo
Copy link

same here, and some other
20240120231528_1
problems. but how ever, admin menu
Näyttökuva 2024-01-20 232440
looks good.
20240120231934_1

@LCK-Locke
Copy link

Same here. Would be perfect to get a fix for that. Thanks in advance
2024-01-23 20_27_00-138 201 197 109 - Remotedesktopverbindung

@IsolatedRP
Copy link

IsolatedRP commented Jan 23, 2024

How we fixed the issue, was replacing the line 956 to 957 in fire.server.lua with the following information
local TYPE = GetEntityType(ENTITY)
local OWNER = NetworkGetFirstEntityOwner(ENTITY)
local POPULATION = GetEntityPopulationType(ENTITY)
local MODEL = GetEntityModel(ENTITY)
local HWID = GetPlayerToken(OWNER, 0)

that should fix the playertoken issue.
my next issue is "fireac_meesage" which would you would need to change to "fireac_message" as that is for function name.

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 a pull request may close this issue.

4 participants