More stats
#1

Can someone explain to me, how can i add more enums, like when you're creating a new script you wanna add a saving system for stuff, now can someone explain to me how do i create other stats like experience points, cash, bank balance, cocaine, stuff like that how do i create them?
Reply
#2

Show us your current enumerator for player information/data and I can give a more detailed example, however it's pretty simple.

Код:
enum pData
{
	pLevel,
	pMoney,
	pBank,
	pExperience,
	pNumber
};
new PlayerInfo[MAX_PLAYERS][pData]
To add more you can just add it into the enumerator

Код:
enum pData
{
	pLevel,
	pMoney,
	pBank,
	pExperience,
	pNumber,
	pFaction,
	pFamily,
	pRank
};
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)