26.03.2010, 15:56
What exactly are they
What do they do?
What do they do?
Originally Posted by Seif_
Quote:
Enum variable: PlayerInfo[playerid][pStats] PVar: GetPVarInt(playerid, "stats"); Simple as is. |
for(new a=0,b=GetMaxPlayers(); a<b; a++)
Originally Posted by Seif_
I always do:
for(new playerid, m = GetMaxPlayers(); playerid < m; playerid++) This is faster than doing: for(new playerid; playerid < GetMaxPlayers(); playerid++) because you find GetMaxPlayers value and use it in the whole loop instead of finding it in every loop. I also redefined MAX_PLAYERS to my max players slot. I do think we need a SetVVar(Int/Float/String) as well for vehicles. |
Hmmm subject got a little offtopic... sorry lol. |