Enum to check another enum?
#1

Hey guys, im trying to create a faction enum that will be readable from my playerinfo enum... Im not sure if thats possible? well basically heres what im trying to do..

pawn Code:
enum pFactions
{
    SAPD,
    GOV
}


enum pInfo
{
    pPass,
    pCash,
    Float:pPos[3],
                      pFactions,
    pAdmin,
    pKills,
    pDeaths
}
pFactions is loose so you can see what im trying to do..
So basically i want the pInfo enum to check the values of the pFaction variables..

Im pretty new to scripting so im not sure, Is this the best way to create factions?
Reply


Messages In This Thread
Enum to check another enum? - by Lz - 14.12.2012, 17:44
Re: Enum to check another enum? - by dr.lozer - 14.12.2012, 17:46
Re: Enum to check another enum? - by Lz - 14.12.2012, 17:49
Re: Enum to check another enum? - by Lordzy - 14.12.2012, 17:56
Re: Enum to check another enum? - by Lz - 14.12.2012, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)