PARKAH Posted July 27, 2013 Share Posted July 27, 2013 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
PARKAH Posted July 28, 2013 Author Share Posted July 28, 2013 It worked, thanks! P.S I love SAUR and I play on it daily it's my favorite server:) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now