Limits
From SA-MP Wiki
SA:MP has limits for a lot of things. Here's a brief explaination of almost all of the most common limits that are in SA:MP. Note the 'text I/O' value - that is for the text that is sent to the client, and that is used on OnPlayerCommandText.
| Script Property | Max Limit |
|---|---|
| Players | 500 |
| Vehicles | 2000 |
| Vehicle Models | Unlimited * |
| Global Objects | 254 |
| Per-Player Objects | 254 |
| Virtual Worlds | 2,147,483,647 |
| Map Icons | 100 |
| Race Checkpoints | 1 |
| Checkpoints | 1 |
| Script Property | Dynamic Limit |
| Pickups | 2048 |
| 3D Labels Global | 1024 |
| 3D Labels Per-player | 1024 |
| Chat Bubble String | 144 characters |
| Gangzones | 1024 |
| Menus | 128 |
| Server Property | Limit |
| Gamemodes | 16 |
| Filterscripts | 16 |
| Text I/O | 128 cells (512 bytes) |
| Name Length | 20 characters. |
| Textdraws | Limit |
| String Length | 1024 characters |
| Shown In A Single Client's Screen | 92 |
| Created Serverwise | 2048 |
Notes:
- (*) Although the vehicle model limit in 0.3 is unlimited, if you use a large amount of vehicle models, you may notice parts of your mode become framey as vehicle models are dynamically loaded/unloaded. Keeping the number of vehicle models below 150 is a good idea.
Note: The limits below are for 0.2X and should be ignored if you run the latest version of SA-MP.
| Script Property | Max Limit |
|---|---|
| Players | 200 |
| Vehicles | 700 |
| Vehicle Models | 127 |
| Objects | 150 - 250 |
| Virtual Worlds | 256 |
| Map Icons | 32 |
| Race Checkpoints | 1 |
| Checkpoints | 1 |
| Script Property | Dynamic Limit |
| Pickups | 400 |
| Gangzones | 1024 |
| Menus | 128 |
| Server Property | Limit |
| Gamemodes | 16 |
| Filterscripts | 16 |
| Text I/O | 128 cells (512 bytes) |
| Name Length | 16 characters. |
| Textdraws | Limit |
| String Length | 256 characters |
| Shown In A Single Client's Screen | 92 |
| Created Serverwise | 1024 |
