@VLM
case DIALOG_RENTVEH: {
if(!response) return 1;
if(GetPlayerMoney(playerid) < VehicleRentPrice(listitem)) return SCM(playerid, COLOR_GREY, "You don't have enough money.");
new Float:x, Float:y, Float:z, Float:angle, color1 = random(128), color2 = random(128);
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, angle);
RentVehicle[playerid] = AddStaticVehicle(VehicleRentID(listitem), x, y, z, angle, color1, color2);
giveMoney(playerid, -VehicleRentPrice(listitem));
Update(playerid, pMoney);
PutPlayerInVehicle(playerid, RentVehicle[playerid], 0);
format(string, sizeof string, "{FFC000}(Rent Vehicle): {FFFFFF}You pay %s$ for an %s from rent.", formatNumber(VehicleRentPrice(listitem)), VehicleRentName(listitem));
SCM(playerid, COLOR_WHITE, string);
format(string, sizeof string, "{FFC000}(Rent Vehicle): {FFFFFF}When you leave the car for 5 minutes, this dissapear.");
SCM(playerid, COLOR_WHITE, string);
RentTimer[playerid] = 300;
/*new str2[256];
BizzInfo[31][bTill] += VehicleRentPrice(listitem);
mysql_format(SQL, str2, sizeof(str2), "UPDATE `bizz` SET `Till`='%d' WHERE `ID`='31'", BizzInfo[31][bTill]);
mysql_tquery(SQL, str2, "", ""); */
}