heroes9898 Posted May 27, 2014 Share Posted May 27, 2014 Can I create a vehicle as Object using "createObject" Link to comment
Dealman Posted May 27, 2014 Share Posted May 27, 2014 Not as far as I know, but you can create a vehicle and freeze it, make it damage proof. Then it'll have similar properties to an object. Link to comment
xXMADEXx Posted May 27, 2014 Share Posted May 27, 2014 I think if you export the vehicles 3D Model and texture (the .dff and .txd of default GTA) and just replace an object with it, it would work. I'm not entirely sure if it would work, but I don't see why not. Link to comment
heroes9898 Posted May 27, 2014 Author Share Posted May 27, 2014 Thanks. I'll try to freeze the vehicle and make it damage-proof Link to comment
#RooTs Posted May 27, 2014 Share Posted May 27, 2014 try this Server.lua addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), function() local tow = createVehicle(562, -2052.4907226563, 154.04287719727, 28.589487075806, 0, 0, 0, "Taller") addVehicleUpgrade ( tow, 1010 ) -- nitro setVehicleDamageProof( tow, true) -- make it damage-proof setVehicleIdleRespawnDelay ( tow, 10000 ) tallerSF = false end ) Link to comment
xXMADEXx Posted May 27, 2014 Share Posted May 27, 2014 try thisServer.lua addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), function() local tow = createVehicle(562, -2052.4907226563, 154.04287719727, 28.589487075806, 0, 0, 0, "Taller") addVehicleUpgrade ( tow, 1010 ) -- nitro setVehicleDamageProof( tow, true) -- make it damage-proof setVehicleIdleRespawnDelay ( tow, 10000 ) tallerSF = false end ) This doesn't really make any since, because all you need is: createVehicle, setElementFrozen, and setvehicleDamageProof 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