Y_INI GANG SYSTEM SAVING HELP.. (Just need right direction),
#1

Hey all..

Just I'm thinking how to make it work...

What would be the best to make a dynamic gang system.. Basically here is my enum.

I'm thinking just do it with cmd saving or with stock as GangPath I want it to be saved as gang choose name..

Which of them would be the best way?
pawn Code:
enum gInfo
{
    pLeader [24],
    pMembers,
    pCount,
    pHQID,
    pHQVW,
    pHQID,
    pHQExX,
    pHQExY
    pHQExZ,
    pHQExA,
    pHQEnX,
    pHQEnY,
    pHQEnZ
    pHQEnA,
    pGangMoney,
    pGangWeapon,
    pGangWeapon1,
    pGangWeapon2,
    pGangWeapon3,
    pGangWeapon4,
    pGangWeapon5,
    pGangWeapon6,
    pGangWeapon7,
    pGangWeapon8,
    pGangWeapon9,
    pGangAmmo,
    pGangAmmo1,
    pGangAmmo2,
    pGangAmmo3,
    pGangAmmo4,
    pGangAmmo5,
    pGangAmmo6,
    pGangAmmo7,
    pGangAmmo8,
    pGangAmmo9,
    pDrugs,
    pDrugs1,
    pDrugs2,
    pDrugs3,
    pDrugs4,
    pDrugs5,
    pDrugs6,
    pDrugs7,
    pDrugs8,
    pDrugs9,
    pLeaderSkin,
    pMemberSkin,
    pRankSkin,
    pRankSkin1,
    pRankSkin2,
    pRankSkin3,
    pRankSkin4,
    pRankSkin5,
    gColor,
    MOTD[128],
}
With best regards Scrilex.
Reply
#2

Why do you have a comma after MOTD[128]?
Put not comma as it is the last one and when you are adding you put a comma then

I will look for one for you or try make you one!
_____________________________________________

If I helped +Rep
Reply
#3

Because commas are necessary in enums

However, I noticed a missing ; at the end of the enum. (after the closing bracket)
Reply
#4

Okay sorry i forgot about the ; haha, I am making a new one i will send it via PM! tommorrow or tonight

________________________________________
+Rep me if i helped
Reply
#5

Why do you send it by PM ?

It could help someone else which may have the same problem later.
If it doesn't bother you, post it here.
Reply
#6

; Finishing semi colon is optional for enum
Reply
#7

Yeah I know it was just written in fast hand.. But still would I need to use a stock or just make it as command and save /creategang [name] ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)