GetPlayerInfo function issue

Hello everyone,

I am having an issue where a script has an error the first time it runs but if it is restarted on the server it runs fine. This is the console error I get:

[  script:es_extended] [WARNING] Server callback "gapp:GetPlayerInfo" does not exist. Please Check The Server File for Errors!

My guess is the GetPlayerInfo part errors but why does it work the time after restart? The function isn’t listed in default fivem so is there a function I could replace it with like this:

Still unsure why it then works after resource restart?

I seen a similar issue here: Callback does not exist
But the topic was closed.

Anyone know how to fix or what is going on?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.