SA-MP Forums Archive
mini inventory.... - 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: mini inventory.... (/showthread.php?tid=641057)



mini inventory.... - BrnX - 10.09.2017

hi, please edit my script code mysql r41-2 thank youu.

Thank you very much for doing so

+ RESPECT
Код:
error 017: undefined symbol "cache_get_row_int"
Код:
new id = cache_get_row_int(0,0);



Re: mini inventory.... - BrnX - 10.09.2017

up!!

forward LoadItemz();
public LoadItemz()
{
for(new i = 0; i < cache_get_row_count(); i++)
{
ItemInfo[i][iID] = cache_get_row_int(i,0);
cache_get_row(i, 1,ItemInfo[i][tulaj],1,24);
cache_get_row(i, 2,ItemInfo[i][nev],1,24);
ItemInfo[i][menny] = cache_get_row_int(i,3);
itemek ++;
}
printf("[nmrpg - Inventory] %d DB item load",itemek);
return 1;
}