Limits in SAMP | PawnoKit
PawnoKit.devPAWN · SA-MP · open.mpScripting tool

Limits in SAMP

SA:MP has certain limitations, below is a table of almost all general limits in SA:MP.

Script Property (version 0.3.7)
Players1000
Vehicles2000
Vehicle ModelsUnlimited *
Objects (CreateObject)1000
Virtual Worlds2147483647
Interiors256
Classes (AddPlayerClass)320
Map Icons100
Race Checkpoints1
Checkpoints1
Pickups4096
Global 3D Labels
(Create3DTextLabel)
1024
Per-player 3D Text Labels
(CreatePlayer3DTextLabel)
1024
Chat Bubble String144
Text length
SetObjectMaterialText,
SetPlayerObjectMaterialText
2048
Gangzones (GangZoneCreate)1024
Menus (CreateMenu)128
Attached player objects10
Player Variables (SetPVarInt)800
Actors (since 0.3.7)1000 **
Explosions (CreateExplosion)10
Server Property (version 0.3.7)
Gamemodes16
Filterscripts16
Text Input
(Chat/Commands)
128 cells (512 bytes)
Text Output
(SendClientMessage)
144 cells (576 bytes)
Name Length (MAX_PLAYER_NAME)24 characters
Textdraws (version 0.3.7)
String Length1024 ***
Shown In A Single Client's Screen2048 + 256 ****
Shown In A Single Client's Screen
(sprites)
100
Created Serverwise
TextDrawCreate
2048
Created Serverwise
CreatePlayerTextDraw
256
Dialogs (version 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

  • (*) 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.
  • (**) Due to client limitations only up to 51 actors may actually be shown at a time.
  • (***) 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.
  • (****) It is possible to show all textdraws at the same time for one player, however this is not recommended.
  • To circumvent these limits, it is possible to use a streamer. Streamers work by only creating the objects/vehicles etc. that are close to players. See here (vehicles not supported, but there are streamers out there for those).

Found PawnoKit useful?

Support hosting, the file archive and better tools. Give whatever amount feels right for you.

Support PawnoKit DonationAlerts opens in a new tab. Choose your amount and payment method there.

Entirely optional. All sections of the website remain free.