Undefined symbol. - 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: Undefined symbol. (
/showthread.php?tid=587302)
Undefined symbol. -
norton2 - 29.08.2015
Error:
Код HTML:
error 017: undefined symbol "ID"
Line:
Код HTML:
orm_addvar_int(ormid, Safes[r][ID], "ID"); //this is the key
Код HTML:
enum e_Safe
{
ORM:ORM_ID,
Password[64],
Money,
};
new Safes[4][e_Safe];
Re: Undefined symbol. -
nezo2001 - 29.08.2015
I don't understand in orm but try this
PHP код:
Safes[r][ORM_ID]
WTF with me
Re: Undefined symbol. -
norton2 - 29.08.2015
It's not enough to have
ORM:ORM_ID?
Re: Undefined symbol. -
nezo2001 - 29.08.2015
Sorry updated xD
Re: Undefined symbol. -
Trollerz - 29.08.2015
Re: Undefined symbol. -
norton2 - 29.08.2015
Quote:
Originally Posted by nezo2001
I don't understand in orm but try this
PHP код:
Safes[r][ORM_ID]
WTF with me
|
Код HTML:
warning 213: tag mismatch
Line:
Код HTML:
orm_addvar_int(ormid, Safes[r][ORM_ID], "ORM_ID"); //this is the key
Re: Undefined symbol. -
Logofero - 29.08.2015
Quote:
Originally Posted by norton2
Код HTML:
warning 213: tag mismatch
Line:
Код HTML:
orm_addvar_int(ormid, Safes[r][ORM_ID], "ORM_ID"); //this is the key
|
PHP код:
orm_addvar_int(ormid, ORM:Safes[r][ORM_ID], "ORM_ID"); //this is not integer
Re: Undefined symbol. -
norton2 - 29.08.2015
Quote:
Originally Posted by Logofero
PHP код:
orm_addvar_int(ormid, ORM:Safes[r][ORM_ID], "ORM_ID"); //this is not integer
|
Nothing has changed!
Error:
Код HTML:
warning 213: tag mismatch
Line:
Код HTML:
orm_addvar_int(ormid, ORM:Safes[r][ORM_ID], "ORM_ID"); //this is the key
Re: Undefined symbol. -
Logofero - 29.08.2015
PHP код:
enum e_Safe
{
ORM_ID, // Delete ORM:
Password[64],
Money,
};
new Safes[4][e_Safe];
orm_addvar_int(ormid, Safes[r][ORM_ID], "ORM_ID"); // it ok
Re: Undefined symbol. -
norton2 - 29.08.2015
Solved, +1.