Jump to content
  • 0

Problema case


Colenelu

Question

Nick:Colonelul

Problema:Cnad modific o pretul/levelul unei case in baza de date nu se modifica acolo unde scrie gen:Casa de vanzare Pret .... Level.... e levelul diferit de cel modificat de mine

Erori / warnings:

Lini/script:

if(HouseData[h][hOwned] == 0)
		{
 			format(PropertyString,sizeof(PropertyString),"Casa de vanzare!\n Pret:{FFFFFF}$%d{08D800} \n Level:{FFFFFF}%d{08D800}  \n Pentru a cumpara scrie {FAA404}/buyhouse", HouseData[h][hValue], HouseData[h][hLevel], HouseData[h]);
			HouseLabel[h] = CreateDynamic3DTextLabel(PropertyString ,0x08D800FF,HouseData[h][hEntrancex], HouseData[h][hEntrancey], HouseData[h][hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
		}
		else if(HouseData[h][hOwned] == 1)
		{
			format(PropertyString,sizeof(PropertyString),"Casa cumparata!\n Proprietar: {FFFFFF}%s{08D800} \n Level: {FFFFFF}%d{08D800} \n Pret cazare: {FFFFFF}$%d{08D800} \n Pentru a inchiria scrie {FAA404}/rentroom",HouseData[h][hOwner], HouseData[h][hLevel], HouseData[h][hRent], HouseData[h]);
			HouseLabel[h] = CreateDynamic3DTextLabel(PropertyString ,0x08D800FF,HouseData[h][hEntrancex], HouseData[h][hEntrancey], HouseData[h][hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
		}
	}

Ai incercat sa rezolvi singur ?:

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Daca folosesti mysql le modific direct din phpmyadmin ( adica baza de date din phpmyadmin ) , daca ai bud,ssqlite din baza de date din scriptfiles, daca ai file,dini,y_ini din fisierele cu casele din scriptfiles .

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.