[HELP] MySQL Load
#1

Hello,
I'm making a Car system, this is my first MySQL Dynamic System, i need help. How can i make a Load.
In OnGameModeInit i have this:
UcitajAuta();
I maked a enums,MAX_CARS and that...
In UcitajAuta I have somthing like this but dont work, my version of MySQL is R31.
Код:
stock UcitajAuta()
{
    for(new i; i < MAX_CARS; i++)
    {
		new query[256];
		format(query, sizeof(query),"SELECT * FROM cars WHERE id=%d",i);
		mysql_tquery(query);
		mysql_store_result();
    }
}
Reply


Messages In This Thread
[HELP] MySQL Load - by shulk - 03.09.2013, 11:55
Re: [HELP] MySQL Load - by Konstantinos - 03.09.2013, 12:02
Re: [HELP] MySQL Load - by shulk - 03.09.2013, 12:10
Re: [HELP] MySQL Load - by shulk - 03.09.2013, 12:12
Re: [HELP] MySQL Load - by Konstantinos - 03.09.2013, 12:15
Re: [HELP] MySQL Load - by shulk - 03.09.2013, 12:26
Re: [HELP] MySQL Load - by Konstantinos - 03.09.2013, 12:33
Re: [HELP] MySQL Load - by shulk - 03.09.2013, 12:40
Re: [HELP] MySQL Load - by Konstantinos - 03.09.2013, 12:47
Re: [HELP] MySQL Load - by shulk - 05.09.2013, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)