SA-MP Forums Archive
1377 Halp - 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: 1377 Halp (/showthread.php?tid=538075)



1377 Halp - Gogeta101 - 19.09.2014

I use those enums but i want to add new enums how
pawn Код:
enum pInfo
{
    pPass[64],//Player saved password
    pAdmin,
    pMoney,//PlayerMoneys
    pScore,//Score
    pTeam,//Team
    pClass,//Class
}

// New enums which i want

pVIP
pDeaths
pSpecial



#include <a_samp>
#include <mxINI>
#include <zcmd>
#include <sscanf>



Re : 1377 Halp - streetpeace - 19.09.2014

pawn Код:
enum pInfo
{
    pPass[64],//Player saved password
    pAdmin,
    pMoney,//PlayerMoneys
    pScore,//Score
    pTeam,//Team
    pClass,//Class
    pVIP,
    pDeaths,
    pSpecial,
}
Do not forget to add a new line in loadaccount and your saveplayer stock.


Re: 1377 Halp - M0HAMMAD - 19.09.2014

I Think In The enum Last one Not Must Have ,
Like This :
pawn Код:
enum pInfo
{
    pPass[64],//Player saved password
    pAdmin,
    pMoney,//PlayerMoneys
    pScore,//Score
    pTeam,//Team
    pClass,//Class
    pVIP,
    pDeaths,
    pSpecial //In Here
}