911 Call problem / Marker point
#4

Quote:
Originally Posted by Kethrios
Посмотреть сообщение
This is the 1st user ID possible
pawn Код:
#define MIN_PLAYERID 0
This is for max user connected
pawn Код:
new MAX_PLAYERS_CURRENT = 0;
What does mean that I don't look by everyone ?
Thanks for answering.
you don`t need that i hope you know the function of a loop.

PHP код:
for(new iMAX_PLAYERSi++){

the code in the for loop is called 500 times
0 1 2 3 .. until 499

the new set the value for i only 0
you can define i also out of the loop
[php]new i;
PHP код:
for(; MAX_PLAYERSi++){ 
if you want to reduce your resource consumption you have to define MAX_PLAYERS new
PHP код:
#undef MAX_PLAYERS
#define MAX_PLAYERS 100 
100 is an example value you have to write there the slot number of your server.

ok now we look at your for-loop

PHP код:
#define MIN_PLAYERID 0
new MAX_PLAYERS_CURRENT 0
PHP код:
for(; 0i++){ 
that means that the for loop while going on until the values are the same.
Reply


Messages In This Thread
911 Call problem / Marker point - by Kethrios - 16.01.2013, 13:38
AW: 911 Call problem / Marker point - by IPrototypeI - 16.01.2013, 15:32
Re : 911 Call problem / Marker point - by Kethrios - 16.01.2013, 15:49
AW: Re : 911 Call problem / Marker point - by IPrototypeI - 16.01.2013, 17:18
Re : 911 Call problem / Marker point - by Kethrios - 16.01.2013, 19:27
Re : 911 Call problem / Marker point - by Kethrios - 17.01.2013, 13:18

Forum Jump:


Users browsing this thread: 4 Guest(s)