Limits FR
From SA-MP Wiki
(Difference between revisions)
Revision as of 19:38, 5 January 2013
SA:MP has limits for many things. Below is a table 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.
As new versions are released, limits change, and some old versions' limits have been preserved for comparison, or if you are still using old versions.
Script Property | 0.3e | 0.2X |
---|---|---|
Players | 500* | 200 |
Vehicles | 2000 | 700 |
Vehicle Models | Unlimited ** | 127 |
Objects | 1000 | 150-250 |
Virtual Worlds | 2,147,483,647 | 256 |
Map Icons | 100 | 32 |
Race Checkpoints | 1 | 1 |
Checkpoints | 1 | 1 |
Pickups | 4096 | 400 |
Global 3D Labels | 1024 | N/A |
Per-player 3D Text Labels | 1024 | N/A |
Chat Bubble String | 144 characters | N/A |
Gangzones | 1024 | 1024 |
Menus | 128 | 128 |
Attached player objects | 10 | N/A |
Server Property | 0.3e | 0.2X |
Gamemodes | 16 | 16 |
Filterscripts | 16 | 16 |
Text I/O | 128 cells (512 bytes) | 128 cells (512 bytes) |
Name Length (SetPlayerName) | 24 characters | 16 characters |
Textdraws | 0.3e | 0.2X |
String Length | 1024 characters *** | 256 characters |
Shown In A Single Client's Screen | 92 | 92 |
Created Serverwise (Global) | 2048 | 1024 |
Created Serverwise (Per-Player) | 256 | N/A |
Notes:
- (*) There is an optional 800 player slot version (since SA-MP 0.3d R2) and a 1000 player version (since 0.3e) available.
- (**) 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.
- (***) 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.