[Ajuda] MySQL
#3

Pq nгo funciona?

Код:
mysql_format(MySQL, Query, sizeof Query, "INSERT INTO `concecars`(`conce_dono`, `conce_pos`, `conce_color`) VALUES('%e', '%f, %f, %f', '%d, %d'); \
        SELECT * FROM `concecars` ORDER BY `conce_id` DESC LIMIT 1;", UserInfo[playerid][user_nome], X, Y, Z, VehicleInfo[vehicleid][vColor1], VehicleInfo[vehicleid][vColor2]);
    mysql_pquery(MySQL, Query, "CriarVeiculo_CONCE", "i", playerid);

public:do CriarVeiculo_CONCE(playerid)
{
    if(cache_num_rows())
    {
        new index;
        cache_get_value_int(0, "conce_id", index);
        printf("%d", index);
    }
    else
        printf("N SETOU");
}
Reply


Messages In This Thread
MySQL - by Paulthaz - 01.08.2018, 18:22
Re: MySQL - by DiegoR - 01.08.2018, 19:00
Re: MySQL - by Paulthaz - 01.08.2018, 19:15
Re: MySQL - by Felipealves - 02.08.2018, 04:37

Forum Jump:


Users browsing this thread: 1 Guest(s)