Variables and Arrays? Explain (WIKI :( )
#1

Variables can Contain 1 Number only, Arrays Can Contain Many Numbers?

I can't understand what is thesse NUmbers?, What are the Benfits of this Numbres?, why Should I do Variables or arrays?
Reply
#2

Because you will need them later,at the "pawn" shop.
Reply
#3

new Test[MAX_PLAYERS];

what this Means?

What new Means?

What TEST Means?

What [MAX_PLAYERS]; Means?
Reply
#4

:O,what the bloody "pawn" shop,wikipedia clearly explains what those piecce of codes are,really now
Reply
#5

Max_Players means the totalk amount of player a server can hold.
Example
pawn Код:
#define MAX_PLAYERS 500 // this means that your server can take up to 500 players, not more then that
"new" means that you are creating a new varibale I guess which can be used as a code.
Example
pawn Код:
new Test[MAX_PLAYERS]; // here u have created a variable called Test which hold MAX_PLAYERS
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)