10.07.2015, 00:01
OnPlayerInvalidBulletShot
All this does is detects invalid bullets and passes them to a callback. This should prevent bullet crashers from crashing players. This was apparently fixed in 0.3.7 but it has been patched I believe.
The "reason" parameter contains a value relative to these error IDs:
All invalid bullets are automatically discarded to prevent further damage.
Download: https://www.dropbox.com/s/6c7kxjy0bi...OPIBS.inc?dl=1
All this does is detects invalid bullets and passes them to a callback. This should prevent bullet crashers from crashing players. This was apparently fixed in 0.3.7 but it has been patched I believe.
pawn Код:
public OnPlayerInvalidBulletShot(playerid, reason);
BULLET_INVALID_WEAPON_ID | An invalid weapon ID was used to fire an invalid bullet. |
BULLET_INVALID_HIT_TYPE | An invalid hit type was detected. |
BULLET_INVALID_HIT_ID | An invalid hit ID was detected. |
BULLET_OUT_OF_RANGE | The bullet was out of range from the player. |
BULLET_RAPID_SHOT | The bullet was fired too quickly after the previous one. |
Download: https://www.dropbox.com/s/6c7kxjy0bi...OPIBS.inc?dl=1