Skip to main content

Limits

In-game Entities

TypeLimit (0.3.7)
Players1000
Vehicles(4)(6)2000
Vehicle Models(1)Unlimited
Objects(4)(6)1000
Virtual Worlds2,147,483,647
Interiors256
Classes320
Map Icons(4)100
Race Checkpoints(4)1
Checkpoints(4)1
Pickups(4)4096
Global 3D Labels(4)1024
Per-player 3D Text Labels(4)1024
Chat Bubble String144 characters
SetObjectMaterialText, SetPlayerObjectMaterialText Text length2048 characters
Gangzones1024
Per-player Gangzones1024
Menus128
Attached player objects10
Player Variables800
Server Variables (0.3.7 R2/omp)Unlimited
Actors (since 0.3.7)(4)(5)1000
Explosions10

Server Properties - SA-MP / omp

TypeSA-MP Limit (0.3.7)omp
Gamemodes16Unlimited
Filterscripts16Unlimited
Text Input (Chat/Commands)128 cells (512 bytes)128 cells (512 bytes)
Text Output144 cells (576 bytes)128 cells (512 bytes)
Name Length (SetPlayerName)24 characters24 characters

Textdraws

TypeLimit (0.3.7)
String Length(2)1024 characters
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

Dialogs

TypeLimit (0.3.7)
Dialog IDs32768
Info (Main text)4096
Caption64
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

Notes:

  1. Although the vehicle model limit in 0.3 is unlimited, if you use a large amount of vehicle models then it will affect client performance.
  2. Although the textdraw string limit is 1024 characters, if colour codes (e.g. r) are used beyond the 255th character it may crash the client.
  3. It is possible to show all Textdraws at the same time for one player, however this is not recommended.
  4. To circumvent these limits, it is possible to use a streamer. Streamers work by only creating the entities etc. that are close to players.
  5. Due to client limitations only up to 51 actors may actually be shown at a time.
  6. Vehicle IDs start at ID 1 and thus range from 1 to 1999, even if MAX_VEHICLES is 2000. Objects and player objects also start at ID 1.