03.10.2012, 21:08
Thanks for the good tutorial!
I succeeded on converting my cmds from normal threaded queries to cache, but im stuck on this were server is supposed to load all vehicles. How to make this with cache?
Note: 'mysql_cquery' is a macro, so nvm that, its enabled cache.
I succeeded on converting my cmds from normal threaded queries to cache, but im stuck on this were server is supposed to load all vehicles. How to make this with cache?
Note: 'mysql_cquery' is a macro, so nvm that, its enabled cache.
pawn Код:
mysql_cquery("SELECT * FROM `vehicles", THREAD_INITIATE_PUBVEHICLES);
while(mysql_fetch_row(Str))
{
sscanf(Str, "p<|>iiffff", vehicleid, dModel, VX, VY, VZ, VA);
//rest of code, unrelevant to cache.
}