All pastes #481169 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-05-10 17:41 UTC
rendered paste body
function Vehicle_OnDeath(victim, killer, itemid)
local vid = victim:getVehicle():vehicletypeid()
local c = victim:coords()
local s = victim:getStat()

	if (vid == 103) then victim:setstat(1)


	if ((itemid == shockpad)
	and (vid == corpsevehicle))  
		then 
		if (s == 1)
			then victim:setVehicle(103)
			
		elseif (s == 2)
			then