SA-MP Forums Archive
Mysql problem - 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: Mysql problem (/showthread.php?tid=586748)



Mysql problem - tysanio - 24.08.2015

Hi there I got this code

PHP код:
public tuningload()
{
    new 
query[900],VEH;
    foreach(
Playeri){VEH GetPlayerVehicleID(i);}
    
mysql_format(g_iHandle,query,sizeof(query),"SELECT * FROM tuning");
    new 
Cache:result mysql_query(g_iHandle,query);
    for(new 
tuningid 0tuningid cache_get_row_count(); tuningid++)
    { 
reste of the code blablabla 
I debug but for the for(new... its wont work what happens?