SA-MP Forums Archive
hInfo Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: hInfo Error (/showthread.php?tid=522685)



hInfo Error - [L]azy[H]aze - 28.06.2014

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);



Re: hInfo Error - YoungKris - 28.06.2014

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


Re: hInfo Error - ReD_DeVi - 28.06.2014

add on top

pawn Код:
new hInfo;



Re: hInfo Error - [L]azy[H]aze - 28.06.2014

Код:
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,
};



Re: hInfo Error - Dignity - 28.06.2014

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



Re: hInfo Error - [L]azy[H]aze - 28.06.2014

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


Re: hInfo Error - Dignity - 28.06.2014

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.


Re: hInfo Error - ReD_DeVi - 28.06.2014

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