07.06.2016, 15:11
Hi,
So say I want to create bank accounts for every player. But maybe I want multiple bank accounts. I have an enum:
If I wanted each player to have multiple bank accounts loaded, so I could access them as such:
How would I go about doing this in the set up of the enum? Not sure if ive explained that very well, but any help you can give Id appreciate.
Thanks
So say I want to create bank accounts for every player. But maybe I want multiple bank accounts. I have an enum:
Код:
enum pBankAccount{ //bank account enum id, character_id, account_no, cash } new BankAccount[MAX_PLAYERS][pBankAccount];
Код:
BankAccount[playerid][BankAccountId][cash];
Thanks