---
title: "4 مطلب برچسب شده با \"damage\" | open.mp"
canonical: https://omp.itsneufox.com/fa/docs/tags/damage
language: fa
---

# 4 مطلب برچسب شده با "damage"

[مشاهده تمام برچسب‌ها](https://omp.itsneufox.com/fa/docs/tags)

[

## NPC\_IsInvulnerable

](https://omp.itsneufox.com/fa/docs/scripting/functions/NPC_IsInvulnerable)

Checks if an NPC is invulnerable to damage.

[

## NPC\_SetInvulnerable

](https://omp.itsneufox.com/fa/docs/scripting/functions/NPC_SetInvulnerable)

Sets whether an NPC is invulnerable to damage.

[

## OnNPCGiveDamage

](https://omp.itsneufox.com/fa/docs/scripting/callbacks/OnNPCGiveDamage)

This callback is called when an NPC gives damage to a player.

[

## OnNPCTakeDamage

](https://omp.itsneufox.com/fa/docs/scripting/callbacks/OnNPCTakeDamage)

This callback is called when an NPC takes damage.
