help me
#8

Код:
//At the top of your script
new DamagedCheetah;
new DamagedVicton;
Код:
//Under OnGameModeInit()
DamagedCheetah = CreateVehicle(415, -1551, 727, 7, 259.99694824219, 6, 0, 1);
DamagedVicton = CreateVehicle(402, -1548, 727, 7, 45.999755859375, 79, 0, 1);
Код:
//Under OnVehicleSpawn(vehicleid)
if(vehicleid==DamagedCheetah || vehicleid==DamagedVicton)
{
SetVehicleHealth(vehicleid, 120.0);//Change it to the amount you wish to have ;)
new panels,doors,lights,tires,engine,lights2,alarm,doors2,bonnet,boot,objective;
GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires);
GetVehicleParamsEx(vehicleid,engine,lights2,alarm,doors2,bonnet,boot,objective);
UpdateVehicleDamageStatus(vehicleid, 4, 6, 3, 10);//Change it if you want to .
SetVehicleParamsEx(vehicleid,engine,lights2,alarm,doors2,1,boot,objective);
}
Did not tested yet.

I wrote it down immediately
Reply


Messages In This Thread
help me - by Abraham2nds - 11.12.2010, 17:20
Respuesta: help me - by RatHack - 11.12.2010, 17:21
Re: help me - by Abraham2nds - 11.12.2010, 17:23
Re: help me - by hanzen - 11.12.2010, 17:28
Re: help me - by [MF]FACE - 11.12.2010, 17:31
Re: help me - by WillyP - 11.12.2010, 17:31
Re: help me - by Abraham2nds - 11.12.2010, 17:42
Re: help me - by [MF]FACE - 11.12.2010, 17:51
Re: help me - by Derksen123 - 11.12.2010, 18:00
Re: help me - by Abraham2nds - 12.12.2010, 12:00

Forum Jump:


Users browsing this thread: 1 Guest(s)