25.05.2018, 10:03
Does this prevent damage of any type?
Cause i wan't 0 Damage to be caused with any weapon or anything. I'm making a custom damage script.
Cause i wan't 0 Damage to be caused with any weapon or anything. I'm making a custom damage script.
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if(hittype || weaponid || playerid != INVALID_PLAYERID || hitid)
{
return 0;
}
return 1;
}