DestroyHouse does not reset house owners ownership status
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
So basically the file is removed but the owner's name was not reset from the variables. Posting the enum for HouseInfo array would be useful.
This is the whole set.

Код:
enum hInfo
{
	Owned,
	OwnerName[124],
	Rented,
	Type,
	RenterName[124],
	Price,
	RentPrice,
	Locked,
	//Furniture
	Int,
	Vw,
	Float:HouseEnterPos[3],
	Float:HouseIntPos[3],
	ObjectID[MAX_FURNITURE],
	Float:ObjectPosX[MAX_FURNITURE],
	Float:ObjectPosZ[MAX_FURNITURE],
	Float:ObjectPosY[MAX_FURNITURE],
	Float:ObjectPosRX[MAX_FURNITURE],
	Float:ObjectPosRY[MAX_FURNITURE],
	Float:ObjectPosRZ[MAX_FURNITURE],
	ObjectVW[MAX_FURNITURE],
	ObjectInt[MAX_FURNITURE]
}
new HouseInfo[MAX_HOUSES][hInfo];

new Text3D:House3D[MAX_HOUSES];
new HousePickup[MAX_HOUSES];

new FurnObject[MAX_PLAYERS];
new FurnID[MAX_PLAYERS];
new HouseObject[MAX_HOUSES][MAX_FURNITURE];
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)