What is MAX_PLAYERS and MAX_VEHICLES?
#9

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


Messages In This Thread
What is MAX_PLAYERS and MAX_VEHICLES? - by R3SpaWn0 - 02.08.2018, 14:48
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by Juvanii - 02.08.2018, 17:28
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by Dayrion - 02.08.2018, 17:38
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by R3SpaWn0 - 02.08.2018, 19:17
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by ISmokezU - 02.08.2018, 22:21
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by Unkovic - 02.08.2018, 22:39
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by GRiMMREAPER - 02.08.2018, 23:08
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by Dayrion - 03.08.2018, 07:05
Re: What is MAX_PLAYERS and MAX_VEHICLES? - by DBZdabIt3Bro7 - 03.08.2018, 17:07

Forum Jump:


Users browsing this thread: 4 Guest(s)