kuwalda Posted July 6, 2014 Share Posted July 6, 2014 I have a small problem. Long story short - player is inside vehicle. How can I use propertys only on vehicle, and don`t on player? local jobCar = getVehicleOccupant(getPedOccupiedVehicle(thePlayer)) setElementFrozen(jobCar, true) setVehicleDamageProof(jobCar, true) removePedFromVehicle(jobCar) respawnVehicle(jobCar) Link to comment
Et-win Posted July 6, 2014 Share Posted July 6, 2014 local tVehicle = getPedOccupiedVehicle(thePlayer) Link to comment
kuwalda Posted July 6, 2014 Author Share Posted July 6, 2014 omfg, I am just retardet. Sorry for my stupid mistake. Link to comment
Et-win Posted July 6, 2014 Share Posted July 6, 2014 omfg, I am just retardet. Sorry for my stupid mistake. You learn everyday, and look better everyday 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