---
title: "IsValidCustomModel | open.mp"
description: "Checks if a custom model ID is valid."
canonical: https://omp.itsneufox.com/docs/scripting/functions/IsValidCustomModel
language: en
---

# IsValidCustomModel

warning

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

## Description

Checks if a custom model ID is valid.

| Name | Description |
| --- | --- |
| modelid | The custom model ID to check. |

## Returns

**true** - The custom model ID is valid.

**false** - The custom model ID is not valid.

## Related functions

-   [AddSimpleModel](https://omp.itsneufox.com/docs/scripting/functions/AddSimpleModel): Adds a new custom simple object model.
-   [AddSimpleModelTimed](https://omp.itsneufox.com/docs/scripting/functions/AddSimpleModelTimed): Adds a new custom simple object model.
-   [GetCustomModelPath](https://omp.itsneufox.com/docs/scripting/functions/GetCustomModelPath): Get a custom model path.
