static gTeam[MAX_PLAYERS]?
#5

Simple test example.
pawn Код:
for(new i = 0; i < 3; i++)
{
    static j = 1;
    printf("%d",j);
    j++;
}
Printed:
Quote:
Originally Posted by samp-server.exe- server_log.txt
[16:38:50] 1
[16:38:50] 2
[16:38:50] 3
As:
pawn Код:
for(new i = 0; i < 3; i++)
{
    new j = 1;
    printf("%d",j);
    j++;
}
Printed:
Quote:
Originally Posted by samp-server.exe- server_log.txt
[16:38:50] 1
[16:38:50] 1
[16:38:50] 1
Reply


Messages In This Thread
static gTeam[MAX_PLAYERS]? - by Jochemd - 05.09.2010, 13:20
Re: static gTeam[MAX_PLAYERS]? - by Cameltoe - 05.09.2010, 13:24
Re: static gTeam[MAX_PLAYERS]? - by Jochemd - 05.09.2010, 13:26
Re: static gTeam[MAX_PLAYERS]? - by Cameltoe - 05.09.2010, 13:31
Re: static gTeam[MAX_PLAYERS]? - by [XST]O_x - 05.09.2010, 13:42
Re: static gTeam[MAX_PLAYERS]? - by Calgon - 05.09.2010, 13:49
Re: static gTeam[MAX_PLAYERS]? - by Jochemd - 05.09.2010, 21:20
Re: static gTeam[MAX_PLAYERS]? - by Vince - 05.09.2010, 21:25
Re: static gTeam[MAX_PLAYERS]? - by Jochemd - 05.09.2010, 21:35
Re: static gTeam[MAX_PLAYERS]? - by Jay_ - 05.09.2010, 21:41

Forum Jump:


Users browsing this thread: 3 Guest(s)