SA-MP Forums Archive
[Bug]Can't kill player while dialog is opened (RC4) - 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]Can't kill player while dialog is opened (RC4) (/showthread.php?tid=492754)



[Bug]Can't kill player while dialog is opened (RC4) - KrYpToDeN - 05.02.2014

Hello all!

I just found very big BUG in 0.3Z RC4!
You can't kill the player, while his dialog is opened.

If i open the dialog with ShowPlayerDialog and while i won't close it, nobody can kill me with either weapon.

I think, that this bug because of OnPlayerTakeDamage (OnPlayerUpdate are called OK)!

And also OnPlayerTakeDamage can't be called in some another moments(BUT i need some tests to check it), maybe sometimes when you try to kill your killer(You shoot each other)

Kalcor, please, check this BUG. It's very serious BUG!


Respuesta: [Bug]Can't kill player while dialog is opened (RC4) - MillerUTL - 05.02.2014

Maybe isn't a bug and it's to prevent death when you are reading a dialog.


Re: Respuesta: [Bug]Can't kill player while dialog is opened (RC4) - Mandrakke - 05.02.2014

Quote:
Originally Posted by MillerUTL
Посмотреть сообщение
Maybe isn't a bug and it's to prevent death when you are reading a dialog.
No, if this bug really exists then it should be fixed. SA-MP can't prevent players to take damage, it has to be a decision of server owner by a server-side script.


Re: [Bug]Can't kill player while dialog is opened (RC4) - Kirollos - 05.02.2014

No, it works perfectly on my test server.


Re: [Bug]Can't kill player while dialog is opened (RC4) - Reboma - 05.02.2014

We tested this (on a 70+ players server), and it works fine.. (we get the damage)