Adding new enums - 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: Adding new enums (
/showthread.php?tid=526108)
Adding new enums -
Strummer - 15.07.2014
Hi! I used the account system y ini tutorial and it worked perfect. But, I wanted to add new stuff to the registration dialogue and I thought I'd start by adding new enums.
So, these were the default:
Код:
enum pInfo
{
pPass,
pCash,
pAdmin,
pKills,
pDeaths
}
Код:
enum pInfo
{
pPass,
pCash,
pAdmin,
pKills,
pDeaths
pSex
pAge
}
And I got an error: error 017: undefined symbol "pSex"
etc
So, where do I define these things?
Re: Adding new enums -
Strummer - 15.07.2014
Oh, I'm an idiot, I jsut noticed there weren't any ,. I'm so sorry xD