Apoorv Shukla Posted August 5, 2024 Posted August 5, 2024 (edited) Hi everyone, I'm encountering an issue with the GTANetworkAPI.Vector3 type in my Rage MP project. Specifically, I'm seeing an error message that states the type could not be loaded due to a value type mismatch. This usually indicates there might be discrepancies between different versions of the API or issues with type references. Error Message: lua Copy code Error: The type 'GTANetworkAPI.Vector3' could not be loaded due to a value type mismatch. When I call get position on player I get this error player.Position I am using GTANetworkAPI version 1.1.0 DPI -2 Edited August 5, 2024 by Apoorv Shukla Something went wrong...
Kopra Posted August 8, 2024 Posted August 8, 2024 Do you happen to still reference the old dll or have the old 0.3.7 nuget package installed? Also check if visual studio did not autocomplete "using GTANetworkMethods;" somewhere. Make sure you are using latest server files.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now