Spike strip Help
#2

you have no function call to update the damage to the vehicles tires.

Код:
stock PopPlayerTires(playerid)
{
	new vehicleid = GetPlayerVehicleID(playerid);
	new panels, doors, lights, tires;
	GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
	UpdateVehicleDamageStatus(vehicleid, panels, doors, lights, 15);
}
strongly suggest checking to ensure a player is in a vehicle before function call...

On an After Thought, you dont even have anything detecting if the player is in a vehicle, or if the vehicle is touching the object.. Someone released a SpikeStrip system a while back.. heres the Source: http://pastebin.com/W5d6WH1F

That options uses Pickups, theres another option for a very small area check ... but i would suggest pickups as you don't need a timer or ticker.
Reply


Messages In This Thread
Spike strip Help - by ShawnMiller1337 - 18.08.2010, 02:05
Re: Spike strip Help - by RealWorldGTA - 18.08.2010, 02:11
Re: Spike strip Help - by ShawnMiller1337 - 18.08.2010, 02:19
Re: Spike strip Help - by PotH3Ad - 18.08.2010, 02:20
Re: Spike strip Help - by RealWorldGTA - 18.08.2010, 02:22
Re: Spike strip Help - by ShawnMiller1337 - 18.08.2010, 02:24
Re: Spike strip Help - by PotH3Ad - 18.08.2010, 02:28
Re: Spike strip Help - by RealWorldGTA - 18.08.2010, 02:28

Forum Jump:


Users browsing this thread: 3 Guest(s)