How would i to make a broken down vehicle?
#1

Im creating a Zombie Death-match server, and i need vehicles on the side of the road. How would i to make it when they get into the car, Its completely unusable?

Kinda like the movie "The Happening" as you see on the cover, the cars are broken down, and or unusable. Why would i to do so?

Reply
#2

Use could use SetVehicleParamsEx

As example: Engine off, Lights off, Alarm off, Doors opend, Bonnet random, Boot closed, no objective icon
pawn Код:
new vehicleid = CreateVehicle(...)
//SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective)
SetVehicleParamsEx(vehicleid, false, false, false, false, random(2), false, false);
Reply
#3

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
Use could use SetVehicleParamsEx

As example: Engine off, Lights off, Alarm off, Doors opend, Bonnet random, Boot closed, no objective icon
pawn Код:
new vehicleid = CreateVehicle(...)
//SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective)
SetVehicleParamsEx(vehicleid, false, false, false, false, random(2), false, false);
So it would be like this.

new tractor = CreateVehicle (Cords and necassary crap)


Then underneath it

SetVehicleParamsEx(tractor,0,0,0,0,0,0,0,0,0) ? i put random Zeros, But the First 0 means Vehicle off?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)