---
title: "Limits | open.mp"
description: "Uma lista de todas as limitações impostas pelo jogo/servidor."
canonical: https://omp.itsneufox.com/pt-BR/docs/scripting/resources/limits
language: pt-BR
---

# Limits

## Entidades no jogo

| Tipo | Limite (0.3.7) |
| --- | --- |
| Players | 1000 |
| [Vehicles](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/CreateVehicle)(4)(6) | 2000 |
| [Vehicle Models](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/CreateVehicle)(1) | Ilimitado |
| [Objects](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/CreateObject)(4)(6) | 1000 |
| [Virtual Worlds](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetPlayerVirtualWorld) | 2.147.483.647 |
| [Interiors](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetPlayerInterior) | 256 |
| [Classes](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/AddPlayerClass) | 320 |
| [Map Icons](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetPlayerMapIcon)(4) | 100 |
| [Race Checkpoints](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetPlayerRaceCheckpoint)(4) | 1 |
| [Checkpoints](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetPlayerCheckpoint)(4) | 1 |
| [Pickups](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/CreatePickup)(4) | 4096 |
| [Global 3D Labels](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/Create3DTextLabel)(4) | 1024 |
| [Per-player 3D Text Labels](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/CreatePlayer3DTextLabel)(4) | 1024 |
| [Chat Bubble String](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetPlayerChatBubble) | 144 caracteres |
| [SetObjectMaterialText](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetObjectMaterialText), [SetPlayerObjectMaterialText](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetPlayerObjectMaterialText) Text length | 2.048 caracteres |
| [Gangzones](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/GangZoneCreate) | 1024 |
| [Per-player Gangzones](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/CreatePlayerGangZone) | 1024 |
| [Menus](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/CreateMenu) | 128 |
| [Attached player objects](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetPlayerAttachedObject) | 10 |
| [Player Variables](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetPVarInt) | 800 |
| [Server Variables (0.3.7 R2/omp)](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetSVarInt) | Ilimitado |
| [Actors](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/CreateActor) (since 0.3.7)(4)(5) | 1000 |
| [Explosions](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/CreateExplosion) | 10 |

## Propriedades do servidor - SA-MP / omp

| Tipo | Limite SA-MP (0.3.7) | omp |
| --- | --- | --- |
| Gamemodes | 16 | Ilimitado |
| Filterscripts | 16 | Ilimitado |
| Text Input (Chat/Commands) | 128 células (512 bytes) | 128 células (512 bytes) |
| Text Output | 144 células (576 bytes) | 144 células (576 bytes) |
| Name Length ([SetPlayerName](https://omp.itsneufox.com/pt-BR/docs/scripting/functions/SetPlayerName)) | 24 caracteres | 24 caracteres |

## Textdraws

| Tipo | Limite (0.3.7) |
| --- | --- |
| String Length(2) | 1024 caracteres |
| Shown In A Single Client's Screen(3) | 2048 + 256 |
| Shown In A Single Client's Screen (sprites) | 100 |
| Created Serverwise (Global) | 2048 |
| Created Serverwise (Per-Player) | 256 |

## Diálogos

| Tipo | Limite (0.3.7) |
| --- | --- |
| Dialog IDs | 32768 |
| Info (Main text) | 4096 |
| Caption | 64 |
| Input Text Box (DIALOG\_STYLE\_INPUT/PASSWORD) | 128 |
| Tab List Columns (DIALOG\_STYLE\_TABLIST(\_HEADERS)) | 4 |
| Tab List Column Characters (DIALOG\_STYLE\_TABLIST(\_HEADERS)) | 128 |
| Tab List Row Characters (DIALOG\_STYLE\_TABLIST(\_HEADERS)) | 256 |

**Notas:**

1.  Embora o limite de modelo de veículo em 0.3 seja ilimitado, se você usar uma grande quantidade de modelos de veículos, isso afetará o desempenho do cliente.
2.  Embora o limite da string textdraw seja de 1.024 caracteres, se códigos de cores (por exemplo, `~r~`) forem usados além do 255º caractere, o cliente poderá travar.
3.  É possível mostrar todos os Textdraws ao mesmo tempo para um jogador, porém isso não é recomendado.
4.  Para contornar esses limites, é possível utilizar um [streamer](https://github.com/samp-incognito/samp-streamer-plugin). Os streamers funcionam apenas criando entidades, etc., que estão próximas dos jogadores.
5.  Devido a limitações do cliente, apenas até 51 atores podem ser exibidos por vez.
6.  O veículo IDs começa em ID 1 e, portanto, varia de 1 a 1999, mesmo que MAX\_VEHICLES seja 2000. Objetos e objetos de jogador também começam em ID 1.
