Bulletproof shield.
#5

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
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]
^^ That needs revising. It's not doing what you think it does at all.

This doesn't even check if that the bullet hit the shield.

Quote:
Originally Posted by Smileys
Посмотреть сообщение
On what bodypart is the shield attached to?
Doesn't matter which bodypart it's connected to, it's about the bullets hitting the shield.
Reply


Messages In This Thread
Bulletproof shield. - by kepa333 - 15.03.2015, 20:57
Re: Bulletproof shield. - by Evocator - 15.03.2015, 21:11
Re: Bulletproof shield. - by kepa333 - 15.03.2015, 21:29
Re: Bulletproof shield. - by Smileys - 15.03.2015, 22:55
Re: Bulletproof shield. - by Sew_Sumi - 15.03.2015, 23:00
Re: Bulletproof shield. - by Crayder - 15.03.2015, 23:05
Re: Bulletproof shield. - by Smileys - 15.03.2015, 23:10
Re: Bulletproof shield. - by Abagail - 15.03.2015, 23:32
Re: Bulletproof shield. - by kepa333 - 16.03.2015, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)