Replace Thing[MAX_PLAYERS][10]; wtih PVars
#10

Quote:
Originally Posted by iggy1
Посмотреть сообщение
should be

pawn Код:
for (new i = 0; i < MAX_SOMETHING; i++)
{
    new str[20];
    format(str, 20, "Thing%d", i);
    SetPVarInt(i, str, 0);
}
just spotted that
No.
That would do the following:

Store zero in 'Thing0' for playerid 0
Store zero in 'Thing1' for playerid 1
Store zero in 'Thing2' for playerid 2
Store zero in 'Thing3' for playerid 3
etc
Reply


Messages In This Thread
Replace Thing[MAX_PLAYERS][10]; wtih PVars - by ikey07 - 30.07.2010, 09:33
Re: Replace Thing[MAX_PLAYERS][10]; wtih PVars - by kurta999 - 30.07.2010, 09:39
Re: Replace Thing[MAX_PLAYERS][10]; wtih PVars - by ikey07 - 30.07.2010, 09:42
Re: Replace Thing[MAX_PLAYERS][10]; wtih PVars - by Jeffry - 30.07.2010, 09:44
Re: Replace Thing[MAX_PLAYERS][10]; wtih PVars - by dice7 - 30.07.2010, 09:47
Re: Replace Thing[MAX_PLAYERS][10]; wtih PVars - by ikey07 - 30.07.2010, 09:48
Re: Replace Thing[MAX_PLAYERS][10]; wtih PVars - by FireCat - 30.07.2010, 12:32
Re: Replace Thing[MAX_PLAYERS][10]; wtih PVars - by iggy1 - 30.07.2010, 13:15
Re: Replace Thing[MAX_PLAYERS][10]; wtih PVars - by Joe_ - 30.07.2010, 13:21
Re: Replace Thing[MAX_PLAYERS][10]; wtih PVars - by dice7 - 30.07.2010, 23:35

Forum Jump:


Users browsing this thread: 2 Guest(s)