SA-MP Forums Archive
[BUG] Unoccupied vehicle in water or explode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [BUG] Unoccupied vehicle in water or explode (/showthread.php?tid=327356)



[BUG] Unoccupied vehicle in water or explode - kurta999 - 20.03.2012

Hi.

When unoccupied vehicle fall into the water, then the game destroy it, but doesn't call OnVehicleDeath().
So you don't know when falled into the water. This is problem, because i want to respawn it when fall into the water or blow up and explode.

GetVehicleHealth() return with 1000.0, but the vehicle has destroyed and hasn't "exists", because death and the game deleted it. If you respawn it, then everyting is okey, but would be very good if this bug was fixed.
I'll upload video soon.

Thanks.


Re: [BUG] Unoccupied vehicle in water or explode - Vince - 20.03.2012

OnVehicleDeath is weird. It also sometimes reports killerid as 255 (0xFF) as an invalid player instead of 65535 (0xFFFF), which I assume is still a leftover from 0.2X.


Re: [BUG] Unoccupied vehicle in water or explode - Kar - 20.03.2012

Can't Kalcor attempt to fix OnVehicleDeath atleast? we've been asking for years.......


Re: [BUG] Unoccupied vehicle in water or explode - MP2 - 20.03.2012

OnVehicleDeath would be great if it was fixed. It also needs a 'reason' argument though (water/explode).

I know there's a suggestions topic, this has already been posted there many times, don't delete this post please, I'm just adding to the conversation, not suggesting something.

OnPlayerDamageVehicle would also be a great addition.


Re: [BUG] Unoccupied vehicle in water or explode - niCe - 20.03.2012

Well and also some vehicles like Vortex, Seasparrow or Skimmer are respawned when they're left on the water surface... Would be great if this is fixed, since a lot of players are complaining of it.


Re : [BUG] Unoccupied vehicle in water or explode - Vukilore - 21.03.2012

Oh Yeah, this is just what i need !


Re: [BUG] Unoccupied vehicle in water or explode - kurta999 - 22.03.2012

can be deleted this post.