openmultiplayer / samp-bugs

Track all known SA:MP bugs, and if we've fixed them in open.mp
Mozilla Public License 2.0
16 stars 1 forks source link

OnPlayerTakeDamage called after gmx #19

Open TheManyula opened 5 years ago

TheManyula commented 5 years ago

OnPlayerTakeDamage is called immediately after a gmx.

This is what it prints: playerid: 0, issuerid: 65535, amount: 1079194420, weaponid: 54, bodypart: 3

Alasnkz commented 5 years ago

This is probably because the client sends damage data when its in the connection state (which you get reset back to during a GMX). This also causes the notorious banned bug. If you hear closely in that state, you can hear CJ continuously fall to his death with a splat, this supports the theory because weapon id 54 is "splat".