How to read the 2 sizeof ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to read the 2 sizeof ? (
/showthread.php?tid=102128)
How to read the 2 sizeof ? -
UsaBoy91 - 13.10.2009
Eg.:
pawn Код:
enum sI
{
 Day,
 Month,
 Year,
 Age
};
pStatics[MAX_PLAYERS][sI];
i want to do in a for loop , to counting the sI
pawn Код:
for(new i; i < sizeof pStatics[]; i++) // this will show ~ 800 numbers
pawn Код:
for(new i; i < sizeof pStatics; i++) // this will show 200 numbers ( max_players );
Re: How to read the 2 sizeof ? -
UsaBoy91 - 13.10.2009
ah, there was some arrays and i forget to collected them
~ Close Topic