hInfo Error
#1

What could it be ?
Код:
C:\Users\Jata\Desktop\RCRP.pwn(65) : error 017: undefined symbol "hInfo"
C:\Users\Jata\Desktop\RCRP.pwn(65) : error 029: invalid expression, assumed zero
C:\Users\Jata\Desktop\RCRP.pwn(65) : error 029: invalid expression, assumed zero
C:\Users\Jata\Desktop\RCRP.pwn(65) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664
Код:
INI_String("Owner", hInfo[h][Owner], 32);
Reply
#2

show me the enum line(s) and the global player array line
Reply
#3

add on top

pawn Код:
new hInfo;
Reply
#4

Код:
enum pInfo
{
    Password,
    Money,
   	HouseOwner,
    Admin,
	AdminLevel
}
enum hIDinfo { hID, };
enum HouseInfo
{
	Owner[25],
	Price,
	Bought,

	Float: extX,
	Float: extY,
	Float: extZ,

	Float: intX,
	Float: intY,
	Float: intZ,

	intVW,
	intW,
	Locked,
};
Reply
#5

pawn Код:
new hInfo[MAX_HOUSES][HouseInfo];
Reply
#6

Quote:
Originally Posted by Mionee
Посмотреть сообщение
pawn Код:
new hInfo[MAX_HOUSES][HouseInfo];
Thanks Worked
Reply
#7

Sorry for the bump but I just noticed this.

Quote:
Originally Posted by ReD_DeVi
Посмотреть сообщение
add on top

pawn Код:
new hInfo;
What you're doing is giving bad advice, just adding "new hInfo" won't work because as seen here,

pawn Код:
hInfo[h][Owner]
hInfo is an array. Please refrain from commenting on things you're not certain about.
Reply
#8

Quote:
Originally Posted by Mionee
Посмотреть сообщение
Sorry for the bump but I just noticed this.



What you're doing is giving bad advice, just adding "new hInfo" won't work because as seen here,

pawn Код:
hInfo[h][Owner]
hInfo is an array. Please refrain from commenting on things you're not certain about.
Hey by mistake sorry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)