SA-MP Forums Archive
dini_int. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: dini_int. (/showthread.php?tid=562089)



dini_int. - CJoao - 06.02.2015

Hi guys i have a problem with my ownable car system..

Код:
dini_Int(accstring, "Preco"); // Its 25000 on file
Код:
	if(PlayerInfo[playerid][pGold] >= 1)
	{
 	new string2[256];
	new precocarros = dini_Int(accstring, "Preco");
    format(string2, sizeof(string2), "Nome do veiculo: %s(%d)\nPreзo: %dЂ(Preзo Gold)",VehicleTittle[(model)-400], model, precocarros * 75 / 100);
	ShowPlayerDialog(playerid,comprarvei2, 0, "Confimar Compra", string2, "Comprar", "Sair");
	return 1;
	}
but on game only show "187" shoud be "18750"!