#4

Quote:
Originally Posted by Mento
Посмотреть сообщение
I've seen it done with coordinates, where they put like 10 coordinates and they refer back to it using a enum of some sort, how do I do that?
You mean something like this?:-

pawn Код:
enum PLAYER_DATA
{
    iLogged,
    iAdminLevel,
    iVip,
    bIsRegged,
    iPocketCash,
    iKills,
    iDeaths
}

new gPlayerData[MAX_PLAYERS][PLAYER_DATA];
To learn more about enumerators you can click the following link:-


https://sampwiki.blast.hk/wiki/Keywords:Initialisers#enum
-FalconX
Reply


Messages In This Thread
Enum - by Mento - 06.05.2012, 23:09
Re: Enum - by Vince - 06.05.2012, 23:12
Re: Enum - by Mento - 06.05.2012, 23:15
Re: Enum - by FalconX - 07.05.2012, 00:59
Re: Enum - by Mento - 07.05.2012, 04:00
Re: Enum - by newbienoob - 07.05.2012, 06:15
Re: Enum - by Mento - 07.05.2012, 10:29

Forum Jump:


Users browsing this thread: 2 Guest(s)