SA-MP Forums Archive
[BUG] confirmed - can't die by fire - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [BUG] confirmed - can't die by fire (/showthread.php?tid=100116)



[BUG] confirmed - can't die by fire - Rizard - 02.10.2009

just trying out RC8, noticed I can't die using fire (for example from a blown veh) ... the hp goes all the way to 0 (i guess it's 0) but the character does not want to respawn (or go SPLAT against the ground)

If this is something I misted, misprogrammed, or just to stupid to post I'll blame 'toreno'...

Grts Riz


Re: bug? pls also confirm - can't die by fire - Chris. - 02.10.2009

I have noticed in previous versions of SA:MP that when you are on fire and your hp reaches 0 you will not die immediately but rather die when you are no longer on fire. Is this what happens or does the player just not die at all?


Re: bug? pls also confirm - can't die by fire - yugokoral - 02.10.2009

At me works fine: Car explode, burning by flame thrower, bomb - granade...
But when he was burning he wasnt screaming like in single player...


Re: bug? pls also confirm - can't die by fire - Rizard - 02.10.2009

It's not only on my server, tested it also on this one

62.75.185.228:9875 --> [GER/ENG] 0.3 Dm|Stunt|Race Server

took these screens to 'maybe' convince myself and others?

Pics (only from the Dm/stunt/race server):

[img width=1024 height=640]/imageshack/img225/7586/samp031wx.png[/img]

[img width=1024 height=640]/imageshack/img25/3718/samp032t.png[/img]

[img width=1024 height=640]/imageshack/img132/4144/samp033rn.png[/img]


Oh yeah, it also shows the deadlist is updated, so I apear in it but didn't SPLUT/SPLAT on the ground...


Grts Riz


Re: bug? pls also confirm - can't die by fire - Think - 02.10.2009

since you have to wait till your not on fire anymore...


Re: bug? pls also confirm - can't die by fire - Rizard - 03.10.2009

Tested it on a Final Deathmatch server running 0.2x and it's working like it should I guess.... beeing on fire, and when reaching 0 hp !SPLATT! on the ground, dead man asap...

since in 0.3 (RC8-2 for the record) I'm (maybe not just me) having a Dead Man Walking feeling while on fire

Maybe these guys explain it here:

Quote:
Originally Posted by djlobo[Awesome-games.tk
]
Quote:
Originally Posted by Jay_
Explosion Kills

When you die from an explosion, you don't techicanlly die. Quite hard to explain - your health is on 0 (GetPlayerHealth confirmed this) however you can still run around, you don't respawn, and other players will see you as being dead. It has a similar effect to when being on fire, only when you're on fire you drop to the ground and die when it burns out. With explosions, you don't. I had to respawn myself using the SpawnPlayer native in order to fix it. You can't use commands whilst being in this state either.
Confirmed,but its not only from explosions ,to say the truth its completly random ,some times i type /kill *(wich uses a setplayer health to 0) and my character still walking around ON MY SCREEN ,in the screens of other players you still death on the floor ,to really death you will need one more "hit" like a jump or something to rlly die, its quite random sometimes happen ,sometimes not.Onplayerdeath is called even when you dont "die on health 0".
Quote:
Originally Posted by Abhishek
It's quite hard to explain and to confirm it...
It happens sometimes... happened to me 5 times in 0.3... (never in previous versions of SAMP)
Sometimes when i connect to any server, instead of SAMP, single player tries to start... like.. I connect to server, the EAX logo starts to come.. but after a second, the game crashes and i'm back to SAMP window. Then if i try to connect, it connects as normal..
I've reinstalled (and re-downloaded) SAMP client many times... the problem still persists

Since, i don't think its easy to confirm it, may be you can find something which can fix this... or just delete the post

EDIT:
Another bug:
EnableStuntBonusForAll(0); doesnt disable the stunt bonuses... thought EnableStuntBonusForPlayer(playerid,0); works fine. (even EnableStuntBonusForPlayer dont work)

(EnableStuntBonusForAll(0) works fine...)
I guess it has been reported as a bug then, hope Key and the others can get it fixed up

Grts Riz


Re: bug? pls also confirm - can't die by fire - SpiderPork - 03.10.2009

This bug has happened to me in previous versions too, not only 0.3, wierd .


Re: bug? pls also confirm - can't die by fire - ғαιιοцт - 03.10.2009

confirmed


Re: [BUG] confirmed - can't die by fire - Rizard - 03.10.2009

Thnks for confirming, changed the topic

Grts Riz


Re: [BUG] confirmed - can't die by fire - Joe Staff - 03.10.2009

A quick fix is to add this to your script.

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  TogglePlayerControllable(playerid,1);
}
Untested, so I'm going to test now.