SA-MP Forums Archive
for(new r=0; r < cache_get_row_count(); ++r) - 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)
+--- Thread: for(new r=0; r < cache_get_row_count(); ++r) (/showthread.php?tid=532297)



for(new r=0; r < cache_get_row_count(); ++r) - Banditukas - 17.08.2014

Hi,

Код:
for(new r=0; r < cache_get_row_count(); ++r)

Can i use other cikle when i do mysql cikle and i get field and so on..



Re: for(new r=0; r < cache_get_row_count(); ++r) - MicroD - 17.08.2014

He probably meant "cycle"?


Re: for(new r=0; r < cache_get_row_count(); ++r) - Banditukas - 17.08.2014

Yes

Код:
for(new r=0; r < cache_get_row_count(); ++r)
{
     cache .. loading stuff from mysql

     for(new i = 0; i < MAX_PLAYERS; i ++)
{

}
}



Re: for(new r=0; r < cache_get_row_count(); ++r) - Banditukas - 17.08.2014

What what? show example.


Re: for(new r=0; r < cache_get_row_count(); ++r) - Banditukas - 18.08.2014

But i need to create new count ?