Jump to content

GET_PLAYERS_LAST_VEHICLE


Native Details

  • NameGET_PLAYERS_LAST_VEHICLE
  • NamespacePLAYER
  • Native Hash0x2F96E7720B0B19EA
  • TypeVehicle
  • First seen version1207

Native Parameters

  • This function has no parameters.

DESCRIPTION

Returns the Vehicle handle of the last Vehicle that the local Player was in.  Note that if the Player is currently in a vehicle, their current vehicle is returned.


CODE EXAMPLE

vehicleHandle = GET_PLAYERS_LAST_VEHICLE();
if (DOES_ENTITY_EXIST(vehicleHandle)) { ...

User Feedback

Recommended Comments

There are no comments to display.



Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Red Dead Redemption 2 Native Database by www.mod-rdr.com, includes contributions by gudmunduro and alloc8or.

  • Recently Browsing   0 members

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