---
title: "IsValidCustomModel | open.mp"
description: "چک می‌کنه که آیا ID یه custom model معتبره یا نه."
canonical: https://omp.itsneufox.com/fa/docs/scripting/functions/IsValidCustomModel
language: fa
---

# IsValidCustomModel

هشدار

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

## توضیحات

چک می‌کنه که آیا ID یه custom model معتبره یا نه.

| نام | توضیحات |
| --- | --- |
| modelid | ID custom model که باید چک بشه. |

## مقادیر برگشتی

**true** - ID custom model معتبره.

**false** - ID custom model معتبر نیست.

## توابع مرتبط

-   [AddSimpleModel](https://omp.itsneufox.com/fa/docs/scripting/functions/AddSimpleModel): اضافه کردن یه custom simple object model جدید.
-   [AddSimpleModelTimed](https://omp.itsneufox.com/fa/docs/scripting/functions/AddSimpleModelTimed): اضافه کردن یه custom simple object model جدید.
-   [GetCustomModelPath](https://omp.itsneufox.com/fa/docs/scripting/functions/GetCustomModelPath): دریافت مسیر یه custom model.
