01.08.2018, 19:15
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"); }