Just a little question
#1

What are the MAX_PLAYERS, MAX_OBJECTS, MAX_VEHICLES etc... after a new variable?
For example:
Код:
new blabla[MAX_PLAYERS];
Reply
#2

MAX_PLAYERS, MAX_OBJECTS, MAX_VEHICLES are defined in a_samp.inc.
For ex. MAX_PLAYERS is defined as 200.
Reply
#3

So what can I do with that?
Reply
#4

its just a number hidden behind a Name
how CracKman already told MAX_PLAYERS is 200
and if you do
pawn Код:
new blabla[MAX_PLAYERS];
it will be an array with 200 cells
pawn Код:
new blabla[200];
Reply
#5

Ok I understand now, thanks .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)