Repair System, Not Loading.
#6

Have you tried other methods? It depends on what mysql version you're using
Try something like this
Код:
public OnLoadRepairPickups()
{
        new rows, fields, temp[128], Float:tempfloat;
	cache_get_data(rows, fields);
        if(rows)
        {
	       for(new i; i < rows; i++)
	       {
               cache_get_row(i, 0, temp);
               ARepairPickups[i][PickupID]=strval(temp);

               cache_get_row(i, 1, temp);
               sscanf(temp, "f", tempfloat);
               ARepairPickups[i][pux]=tempfloat;

               cache_get_row(i, 2, temp);
               sscanf(temp, "f", tempfloat);
               ARepairPickups[i][puy]=tempfloat;

               cache_get_row(i, 3, temp);
               sscanf(temp, "f", tempfloat);
               ARepairPickups[i][puz]=tempfloat;
               }

	}
	return 1;
}
It's bit more code but I hope it work's. It worked for me
Reply


Messages In This Thread
Repair System, Not Loading. - by DerickClark - 14.02.2017, 22:40
Re: Repair System, Not Loading. - by DerickClark - 15.02.2017, 22:10
Re: Repair System, Not Loading. - by haikalbintang - 15.02.2017, 23:25
Re: Repair System, Not Loading. - by DerickClark - 15.02.2017, 23:27
Re: Repair System, Not Loading. - by DerickClark - 18.02.2017, 17:58
Re: Repair System, Not Loading. - by w1z4rd - 18.02.2017, 18:48
Re: Repair System, Not Loading. - by Vince - 18.02.2017, 18:50
Re: Repair System, Not Loading. - by DerickClark - 18.02.2017, 18:59
Re: Repair System, Not Loading. - by DerickClark - 19.02.2017, 14:38
Respuesta: Repair System, Not Loading. - by Eloy - 19.02.2017, 16:11

Forum Jump:


Users browsing this thread: 1 Guest(s)