Jump to content

GetAtHandle() [c#]


Recommended Posts

Functions RAGE.Elements.Entities.Vehicles.GetAtHandle() and RAGE.Elements.Entities.Objects.GetAtHandle() do not return an object if correct Handle (Object reference not set to an instance of an object.), but function RAGE.Elements.Players.Vehicles.GetAtHandle() works.

Edited by bogoslovniy
Link to comment
Share on other sites

The problem is not resolved, but I found an alternative: Get the entities sheet in the streaming zone (RAGE.Elements.Entities.Objects.Streamed or RAGE.Elements.Entities.Vehicles.Streamed) and search it using the handle value (use function Find()).

  • Like 1
Link to comment
Share on other sites

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...