Jump to content

Nu apare textul la restart.


ColdBoy

Recommended Posts

https://imgur.com/a/OBvcDx3

Am observat ca atunci cand dau restart se face asa. Daca cumpar casa apare si gen se repara la toate.

Vreo idee cum as putea rezolva?

		if(idx == 0)
		{
			file2 = fopen("cfg/property.cfg", io_write);
		}
		else
		{
			file2 = fopen("cfg/property.cfg", io_append);
		}
		if(HouseInfo[idx][hOwned] == 1)
			{
				if(HouseInfo[idx][hRentabil] == 0)
				{
					format(string, sizeof(string), "{CCFF99}Owner: {FFFFFF}%s \n{CCFF99}Level: {FFFFFF}%d \n{CCFF99}Descriere: {FFFFFF}%s \n{CCFF99}Valoare: {FFFFFF}%d \n{CCFF99}House ID: {FFFFFF}%d",HouseInfo[idx][hOwner],HouseInfo[idx][hLevel], HouseInfo[idx][hDiscription], HouseInfo[idx][hValue], idx);
				}
				else
				{
					format(string, sizeof(string), "{CCFF99}Owner: {FFFFFF}%s \n{CCFF99}Level: {FFFFFF}%d \n{CCFF99}Rent: {FFFFFF}%d \n{CCFF99}Descriere: {FFFFFF}%s \n{CCFF99}Valoare: {FFFFFF}%d \n{CCFF99}ID: {FFFFFF}%d\n{CCFF99}Type: /rentroom",HouseInfo[idx][hOwner],HouseInfo[idx][hLevel], HouseInfo[idx][hRent], HouseInfo[idx][hDiscription], HouseInfo[idx][hValue], idx);
				}
			}
			else
			{
				format(string, sizeof(string), "{2EAD15}House For Sale! \n{2EAD15}Level: {FFFFFF}%d \n{2EAD15}Descriere: {FFFFFF}%s \n{2EAD15}Valoare: {FFFFFF}%d \n{2EAD15}ID: {FFFFFF}%d\n{2EAD15}Type: /buyhouse",HouseInfo[idx][hLevel], HouseInfo[idx][hDiscription], HouseInfo[idx][hValue], idx);
			}
			Update3DTextLabelText(HouseLabel[idx], 0xFFFFFFFF, string);

		fwrite(file2, coordsstring);
		idx++;
		fclose(file2);
	}

 

Edited by ColdBoy
Link to comment
Share on other sites

1 oră în urmă, ColdBoy a spus:

E chiar atat de grava problema asta?

Cauta mesajul ala e apare in prima parte a textului cu problema 'de vanzare' si modifica cu

format(string, sizeof(string), "{2EAD15}House For Sale! \n{2EAD15}Level: {FFFFFF}%d \n{2EAD15}Descriere: {FFFFFF}%s \n{2EAD15}Valoare: {FFFFFF}%d \n{2EAD15}ID: {FFFFFF}%d\n{2EAD15}Type: /buyhouse",HouseInfo[idx][hLevel], HouseInfo[idx][hDiscription], HouseInfo[idx][hValue], idx);

Si in loc de idx pune variabila ce numara casele.

Ce inseamna cuvantul "Unic" este atunci cand Chestia / Obiectul / Idea / etc... nu exista in alta parte.

Copii, nu mai veniti cu vorbe de "Am gamemode unic", nu exista asa ceva, la ora actuala totul este pe net.

Aveti grija pe cine ajutati, majoritatea sunt caini.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.