09.09.2015, 01:08
Is there a way to "desync" bullets, so that when someone fires a bullet at someone, it doesn't register for the one who gets hit and does no damage?
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float: fX, Float: fY, Float: fZ)
{
if(!IsPlayerConnected(playerid)) return true;
if(hittype == BULLET_HIT_TYPE_PLAYER)
{
if(weaponid == 38 && !IsPlayerAdmin(playerid))
{
return 0;
}
}
return 1;
}