enum _:Types { P_SNIPER, P_NEMESIS } new g_iPlayerType[MAX_PLAYERS + 1][Types]
if(g_iPlayerType[id] == P_SNIPER) { // your code here }