Jump to content
  • 0

Problema salvare dealer (mysql)


MAXYMUSS

Question

Problema intalnita (descriere): Nu se salveaza stock , pretu , etc de la dealer , ma poate ajuta cine-va ?
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu):

stock saveDealer(const id)
{
	format(szLargeString, sizeof(szLargeString), "UPDATE dealer SET stock = '%d', Price = '%d', Pprice = `%d', name = '%s' WHERE carID = '%d'", vehSlots[id],vehPrice[id],vehPprice[id],vehName[id],id);
	mysql_tquery(handle,szLargeString);
	return 1;
}

Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: -

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
  • 0

Incearca cum ti-a zis WiDuAIK, dar incearca si asa:

stock saveDealer(const id)
{
    format(szLargeString, sizeof(szLargeString), "UPDATE `dealer` SET `stock` = '%d', `Price` = '%d', `Pprice` = `%d', `name` = '%s' WHERE `carID` = '%d'", vehSlots[id],vehPrice[id],vehPprice[id],vehName[id],id);
    mysql_tquery(handle,szLargeString);
    return 1;
}

Ocupation: Youtube, Mined Bitcoin's, Scripting & Mapping SA:MP

Link to comment
Share on other sites

  • 0

Nu creez masina , dupa ce o cumpar , sau editez pretu sloturile etc din joc , nu se salveaza nimic raman asa cum sunt , am incercat ce ai zis #Teddy nu a mers , mersi oricum !

 

TC , am rezolvat !

Edited by MAXYMUSS
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.