Predator damage
#1

I noticed while ago, that damaging another player from predator is weird. For example, in comparison to rustler:

- damage from rustler calls OnPlayerTakeDamage with connected issuerid
- damage from predator calls OnPlayerTakeDamage with issuerid equal INVALID_PLAYER_ID

- damage from rustler calls OnPlayerTakeDamage with M4 as weaponid and takes 9.9 damage
- damage from predator calls OnPlayerTakeDamage with weaponid 52 and takes 4.9 damage

It had been always like that? I mean this weaponid (52) and INVALID_PLAYER_ID as issuerid. On the wiki, there is no information about weaponid 52. Anybody have some informations on this topic?
Reply
#2

Haunter / hydra using rocketlauncher / minigun weapons and you have to take a look on this https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage , wiki says that if the player take damage by invalid playerid , then he harmed him self , thats all. i think its hard to detect if the bullets came from vehicle weapon. so the logs just sending that , nobody did he harmed him self.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)