Jump to content

Loading a new PED/CAR , and adding the ID I want


Recommended Posts

I haven't tested it as I dont have a model available right now, but would it be possible to load a ped or a car with engineRequestModel, get the ID with getElementID, then replace it to whatever with engineSetModelTXDID?
For example, let's say we wanted to add Tommy Vercetti to the game, and assign him ID 313 (I think that's the first free ID), would it be possible to create a tommy element, get its id, then change it to 313? (and ofc destroy the element afterwards)

If this is possible, how cars and peds created this way can have sounds? Can I somehow load ped voices from vice city so we can have the "official teta inspector" line in game?

Link to comment

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