14.12.2012, 17:44
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..
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?
pawn Code:
enum pFactions
{
SAPD,
GOV
}
enum pInfo
{
pPass,
pCash,
Float:pPos[3],
pFactions,
pAdmin,
pKills,
pDeaths
}
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?