Posts: 65
Threads: 1
Joined: Sep 2017
Quote:
Originally Posted by Dayrion
There are constant values which you can found them in a_samp.inc. They can be redefined
PHP код:
// Limits and internal constants
#define MAX_PLAYER_NAME (24)
#define MAX_PLAYERS (1000)
#define MAX_VEHICLES (2000)
#define MAX_ACTORS (1000)
|
Just to add on this, never redefine MAX_PLAYER_NAME, MAX_PLAYERS, MAX_VEHICLES or MAX_ACTORS unless you're lowering the value. Anything higher than what's stated at
Wiki: Scripting Limits can cause the server to crash if the index is later on used over the already defined limits.