Jump to content

Car resource help?


PARKAH

Recommended Posts

Hey guys, here I have a script;

ID = getVehicleModelFromName ( "INSERTNAMEHERE" ) 
  
function TXDFile () 
    TXD = engineLoadTXD( "copcarla.txd" )  
    engineImportTXD( TXD, ID ) 
end  
addEventHandler( "onClientResourceStart", resourceRoot, TXDFile ) 
  
  
function DFFFile () 
    DFF = engineLoadDFF( "copcarla.dff", 0 )  
    engineReplaceModel ( DFF, ID ) 
  
end  
addEventHandler( "onClientResourceStart", resourceRoot, DFFFile ) 

It's very simple, I just one issue, where it says "Insertnamehere" is where you are supposed to put the name of the car you want to replace with your new car. In this situation, I'm trying to replace the Los Santos police car, the only issue is I need the real name for the car which I can't find anywhere, I've tried stuff like police,policecar,lspd,lspdpolice but none of them work, I can't use the ID (596) for some reason, does anybody know the proper name for the LSPD Car?

Thanks!

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