Enumerator Help
#1

Код:
enum pInfo
{
  pStrKey[128],
  pIntLevel,
  pIntSex
};
new PlayerInfo[MAX_PLAYERS][pInfo];
With an enumerator setup like that, how would I retrieve both the value of "pIntSex" and the actual string defined as "pIntSex", using a number.

Код:
PlayerInfo[playerid][1]
Will not work, it reports tag mismatch warnings, and rightfully so. Are there any functions or workarounds to get this done?

Thanks for your time.
Reply


Messages In This Thread
Enumerator Help - by Pload - 04.12.2009, 00:42
Re: Enumerator Help - by Joe Staff - 04.12.2009, 00:45
Re: Enumerator Help - by Pload - 04.12.2009, 18:59
Re: Enumerator Help - by Donny_k - 04.12.2009, 19:47
Re: Enumerator Help - by Pload - 04.12.2009, 20:04
Re: Enumerator Help - by Donny_k - 04.12.2009, 20:25

Forum Jump:


Users browsing this thread: 1 Guest(s)