26.09.2013, 22:01
I am working on my mdc for my server... Its advanced and like NGG it should show crimes. I have gotten the stock DisplayCrimes from a source, but its in MySQL, and not .ini. The problem is my server is Y_INI based, rather than mysql....
Here is the stock which is in mysql... Basically I need it converted to work with INI/Y_INI.
I hope you can do this for me. I'll give you some rep.
Here is the stock which is in mysql... Basically I need it converted to work with INI/Y_INI.
Код:
stock DisplayCrimes(playerid, suspectid) { new query[128]; format(query, sizeof(query), "SELECT issuer, crime, active FROM `mdc` WHERE id=%d ORDER BY `time` AND `active` DESC LIMIT 12", GetPlayerSQLId(suspectid)); mysql_function_query(MainPipeline, query, true, "MDCQueryFinish", "ii", playerid, suspectid); return 1; }