Jump to content
RAGE Multiplayer Community

[c# | Solved] SetEntityPosition() problem, player not changing position (not teleporting)


UnitSeven
 Share

Recommended Posts

i have code:

GTANetworkAPI.NAPI.Util.ConsoleOutput("Position ->> " + wPlayer.Position.ToString());

GTANetworkAPI.NAPI.Entity.SetEntityPosition(wPlayer.Handle, new GTANetworkAPI.Vector3(402.8664, -996.4108, -99.00027));

GTANetworkAPI.NAPI.Util.ConsoleOutput("Position ->> " + wPlayer.Position.ToString());

and i'm getting

Position ->> 0 0 0
Position ->> 402,8664 -996,4108 -99,00027

But player in game not moving

Any ideas why ???

Edited by UnitSeven
Solved
Link to comment
Share on other sites

  • UnitSeven changed the title to [c# | Solved] SetEntityPosition() problem, player not changing position (not teleporting)

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
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...