Jump to content

Recommended Posts

Posted (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 by Apoorv Shukla
Something went wrong...
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...