Is this a wrong way to check?
#5

Quote:
Originally Posted by [ND]xXZeusXx.
Посмотреть сообщение
Okay, this is my housedata enum
Код:
enum houseData {
	houseID,
	houseExists,
	houseOwner,
	housePrice,
	houseAddress[32],
	Float:housePos[4],
	Float:houseInt[4],
	houseInterior,
	houseExterior,
	houseExteriorVW,
	houseLocked,
	houseMoney,
	houseMapIcon,
	Text3D:houseText3D,
	housePickup,
	houseLights,
	houseWeapons[10],
	houseAmmo[10]
};
and i check this in a command
Код:
if (playerid == houseOwner[playerid])
but it shows me error. the one mentioned above im not sure why.
you need to add something below them to load from example:
PHP код:
new HouseInfo[MAX_HOUSES][houseData]; 
then later //
PHP код:
if (playerid == Houseinfo[playerid][houseOwner]) { 
Reply


Messages In This Thread
Is this a wrong way to check? - by Ritzy2K - 13.12.2015, 06:34
Re: Is this a wrong way to check? - by RoboN1X - 13.12.2015, 06:48
Re: Is this a wrong way to check? - by jlalt - 13.12.2015, 07:01
Re: Is this a wrong way to check? - by Ritzy2K - 13.12.2015, 07:06
Re: Is this a wrong way to check? - by jlalt - 13.12.2015, 07:09
Re: Is this a wrong way to check? - by RoboN1X - 13.12.2015, 07:10
Re: Is this a wrong way to check? - by Ritzy2K - 13.12.2015, 07:11

Forum Jump:


Users browsing this thread: 1 Guest(s)