10.06.2014, 22:06
OnPlayerTakeDamage seems to report weapon ID '255' and damaging player (or shooter) '65535'. It should report 31 (M4A1) simalar to the seasparrow and rustler, but doesn't. I'm assuming '65535' = INVALID_PLAYER_ID.
Edit (06/10/20140): I was incorrect about the weapon ID that is reported. Weapon ID '52' is reported, a weapon which isn't even documented on the weapons list!
Edit (06/10/20140): I was incorrect about the weapon ID that is reported. Weapon ID '52' is reported, a weapon which isn't even documented on the weapons list!
Код:
[16:52:17] [SUCCESS]: Spawned a "Predator" (MODELID: 430, VEHICLEID: 1792) [16:53:08] OnPlayerTakeDamage(1, 65535, 4.95000, 52, 6); [16:53:10] OnPlayerTakeDamage(1, 65535, 4.95000, 52, 9); [16:53:12] OnPlayerTakeDamage(1, 65535, 4.95000, 52, 6); [16:53:13] OnPlayerTakeDamage(1, 65535, 4.95000, 52, 6); [16:53:13] OnPlayerTakeDamage(1, 65535, 4.95000, 52, 6); [16:53:21] OnPlayerTakeDamage(1, 65535, 4.95000, 52, 3); [16:53:23] OnPlayerTakeDamage(1, 65535, 4.95000, 52, 3); [16:53:24] OnPlayerTakeDamage(1, 65535, 4.95000, 52, 3); [16:53:27] OnPlayerTakeDamage(1, 65535, 4.95000, 52, 3); [16:53:28] OnPlayerTakeDamage(1, 65535, 4.95000, 52, 3);