AmirrezaJaberi / FIREAC

✅ FiveM Strongest Anticheat
GNU Affero General Public License v3.0
161 stars 52 forks source link

GetPlayerToken #91

Closed dambro1990 closed 5 months ago

dambro1990 commented 5 months ago

[ 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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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.