stock DisplayCrimes help
#1

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.

Код:
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;
}
I hope you can do this for me. I'll give you some rep.
Reply
#2

Wish i could help but ... :\ i really dont know how to do this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)