Limits

From SA-MP Wiki

Revision as of 20:52, 2 September 2009; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

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 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

Warning: The following limits are for SA-MP 0.3, they are still subject to change.

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
Personal tools