18.10.2009, 17:51
Hello, i wan make a command /createfaction and i wan to have factionid , ftag,fname and more but i have problem with that factionid.
I not know where to start to make it...
Okay first any one have any idea how to make factionid ?
Becouse i not have please help!
I make on start that thing:
I need big help with command /createfaction.
Sorry for my bad english and for my stupid questions..
I not know where to start to make it...
Okay first any one have any idea how to make factionid ?
Becouse i not have please help!
I make on start that thing:
pawn Code:
enum Factions
{
fTag[10], //Tag like LSPD - for text file name
fName[60], // All name like - Los Santos Police Department
factionid, // id of faction - i not lnow how to make it...
Float:fX, // the spawn of faction
Float:fY, .....
Float:fZ, ......
fRank1[35], // rank 1 - leader i wan to rename it Leader like that , Leader[35],
fRank2[35], // ranks
fRank3[35], // etc
fRank4[35], // etc
fRank5[35], // etc
fRank6[35], // etc
fRank7[35], // etc
fRank8[35], // etc
fRank9[35], // etc
fRank10[35], // etc
fSkin1, //skins of the leader or , LeaderSkin,
fSkin2, //another skins
fSkin3, //etc
fSkin4, //etc
fSkin5, //etc
fSkin6, //etc
fSkin7, //etc
fSkin8, //etc
fSkin9, //etc
fSkin10, //etc
fJoinRank, // i make this for /invite command if you invite some one will be that rank.
fType, //Is a police faction , Army , illegal faction and more..
fRankAmount //How many ranks to have becouse not all factions have 10 ranks some have 5 ranks or smaller...d
};
new Factions[MAX_FACTIONS][Factions];
Sorry for my bad english and for my stupid questions..