Posted: Tue May 20, 2003 9:45 am
Why use all those vehicle threads why not just do
mypflakthread:
self waittill death
self setaimtarget NULL
self playsound explode_flak88
radiusdamage self.origin 200 200
exec global/model.scr self.origin "models/fx/fx_tank_explosion.tik "
local.destroyed = spawn scriptmodel "model" "models/statweapons/flak88_d.tik "
local.destroyed.origin=self.origin
local.destroyed.angle=self.angles
self remove
end
mypflakthread:
self waittill death
self setaimtarget NULL
self playsound explode_flak88
radiusdamage self.origin 200 200
exec global/model.scr self.origin "models/fx/fx_tank_explosion.tik "
local.destroyed = spawn scriptmodel "model" "models/statweapons/flak88_d.tik "
local.destroyed.origin=self.origin
local.destroyed.angle=self.angles
self remove
end