Jump to content
  • 0

Cum scoti


PauLL

Question

5 answers to this question

Recommended Posts

Sterge tot incepand cu :

/buyhouse

etc. comenzile la casa dupa incepe la

forward HouseLevel(playerid);

forward CHouseLevel(houseid);

new Text3D:HouseLabel[MAX_PLAYERS]; // House Text3D

enum pInfo :

pPhousekey,

new HouseInfo[180][hInfo];

new HouseEntered[MAX_PLAYERS];

new Float:HouseCarSpawns[180][4] = { (daca ai casa cu masini )

PlayerInfo[playerid][pPhousekey] = 255;

Si asa m-ai departe.

dupa din scriptfiles la property stergi house

Cauti scripter / Mapper pentru servarul tau ? [email protected] [FREE SCRIPTING]

Link to comment
Share on other sites

asulkapa nu inteleg nimic.il astept pe gireada

Asculta de zice. Iti explic inca odata.

1.Te duci la enum hInfo stergi tot ce tine acolo.

2.Stergi functiile care incarca/salveaza casele ca de exemplu public LoadProperty()

3.Stergi Checkprop.

4.Stergi

 while (idx < sizeof(HouseInfo))
	{
		new coordsstring[256];
		format(coordsstring, sizeof(coordsstring), "%f,%f,%f,%f,%f,%f,%d,%d,%d,%d,%d,%d,%s,%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n",
		HouseInfo[idx][hEntrancex],
		HouseInfo[idx][hEntrancey],
		HouseInfo[idx][hEntrancez],
		HouseInfo[idx][hExitx],
		HouseInfo[idx][hExity],
		HouseInfo[idx][hExitz],
		HouseInfo[idx][hHealthx],
		HouseInfo[idx][hHealthy],
		HouseInfo[idx][hHealthz],
		HouseInfo[idx][hArmourx],
		HouseInfo[idx][hArmoury],
		HouseInfo[idx][hArmourz],
		HouseInfo[idx][hOwner],
		HouseInfo[idx][hDiscription],
		HouseInfo[idx][hValue],
		HouseInfo[idx][hHel],
		HouseInfo[idx][hArm],
		HouseInfo[idx][hInt],
		HouseInfo[idx][hLock],
		HouseInfo[idx][hOwned],
		HouseInfo[idx][hRooms],
		HouseInfo[idx][hRent],
		HouseInfo[idx][hRentabil],
		HouseInfo[idx][hTakings],
		HouseInfo[idx][hVec],
		HouseInfo[idx][hVcol1],
		HouseInfo[idx][hVcol2],
		HouseInfo[idx][hDate],
		HouseInfo[idx][hLevel],
		HouseInfo[idx][hWorld]);

		HouseInfo[idx][hWorld] = idx;
		if(idx == 0)
		{
			file2 = fopen("property.cfg", io_write);
		}
		else
		{
			file2 = fopen("property.cfg", io_append);
		}
		fwrite(file2, coordsstring);
		idx++;
		fclose(file2);
	}

5.Stergi comenzile de la sistemul de case si tot ce e legat de el.

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

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.