25.07.2011, 17:51
You can't make Cars as non-usable objects AFAIK.
But you can use some functions to make them useless.
Like,
SetVehicleParamsEx to turn off engine, lockdoors.
OnPlayerStateChange to check if the player is entering useless vehicle and slap/eject him out of it and SetVehicleToRespawn to respawn the vehicle.
But you can use some functions to make them useless.
Like,
SetVehicleParamsEx to turn off engine, lockdoors.
OnPlayerStateChange to check if the player is entering useless vehicle and slap/eject him out of it and SetVehicleToRespawn to respawn the vehicle.