11.09.2010, 15:21
Hey im thinking of making a Clan System for my DM
Player Can Create Clan just 15 level and over
Leader Can Give Clan Admin To Max 3 Players
They Can Put Money Into Clan to buy upgrades for clan wars etc (starting weapons) and clan base and if its owned by another clan the other clan needs to have puted it for sale (im thinking of 5 clan bases but max 25 clans)
They Can Chose Skin (buy it) for each player to have same skin (im also working that each skin has got difrent stats (+20 armor, - 10 hp etc))
the sarver will also save list of clans to file Clans.ini
thats what im trying to make but i need something to start of with (example or guideline )
but i started with creating few varbles
Player Can Create Clan just 15 level and over
Код:
pLevel[MAX_PLAYERS] // my level varble
They Can Put Money Into Clan to buy upgrades for clan wars etc (starting weapons) and clan base and if its owned by another clan the other clan needs to have puted it for sale (im thinking of 5 clan bases but max 25 clans)
They Can Chose Skin (buy it) for each player to have same skin (im also working that each skin has got difrent stats (+20 armor, - 10 hp etc))
the sarver will also save list of clans to file Clans.ini
thats what im trying to make but i need something to start of with (example or guideline )
but i started with creating few varbles
pawn Код:
//defines
#define MAX_CLANS 25
#define cLeader 3
#define cAdmin 2
#define cMember 1
#define NotInClan 0
//varbles
new ClanLeader[MAX_PLAYERS][MAX_CLANS]; /* ?? - started with this before but i think its not needed when i got the one bellow */
new ClanRank[MAX_PLAYERS][MAX_CLANS]; // for ranks [1] for playerid [2] for clanid
new ClanMoney[MAX_CLANS]; // for clan money
new ClanName[MAX_CLANS][32]; // for clan name