Jump to content

How get dispaly name from using vehicle [C++]


Recommended Posts

 


Vehicle vehicle = PED::GET_VEHICLE_PED_IS_USING(PLAYER::PLAYER_PED_ID());
Hash model = ENTITY::GET_ENTITY_MODEL(vehicle);
char* displayName = VEHICLE::GET_DISPLAY_NAME_FROM_VEHICLE_MODEL(model);
// char* localizedName = UI::_GET_LABEL_TEXT(displayName);

 

Vehicle vehicle = PED::GET_VEHICLE_PED_IS_USING(PLAYER::PLAYER_PED_ID());Hash model = ENTITY::GET_ENTITY_MODEL(vehicle);char* displayName = VEHICLE::GET_DISPLAY_NAME_FROM_VEHICLE_MODEL(model);// char* localizedName = UI::_GET_LABEL_TEXT(displayName);

 

Very Thanks

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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.