15.03.2015, 23:00
Quote:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{ if(hittype == BULLET_HIT_TYPE_PLAYER) { if(Shielded[hitid]) return 0; //desync the bullet if the player has a shield. } return 1; }[/code] |
This doesn't even check if that the bullet hit the shield.
Doesn't matter which bodypart it's connected to, it's about the bullets hitting the shield.