Can I use such arrays?
#1

Hello.

I'm currently working on battlefield server (writting from scratch) and after testing I noticed, that console outputs not array values from enum, but weird symbols and smiles.

So, my question is:

Can I use such arrays?
Код:
enum pInfo
{
	// 0 - assault, 1 - engineer, 2 - sniper, 3 - medic
	rank_lvl, // 30 total
	experience, // current experience points
	Float:health, Float:armor,
	credits, kills, deaths, score, timePlayed,
}
new PlayerInfo[MAX_PLAYERS][4][pInfo];
There gonna be 4 classes per player and each class will have different stats and player will need to increase stats and etc individually.

For example: Assault class rank_lvl = PlayerInfo[playerid][0][rank_lvl];
Reply


Messages In This Thread
Can I use such arrays? - by Darth1993 - 02.04.2013, 13:21
Re: Can I use such arrays? - by Konstantinos - 02.04.2013, 13:25
Re: Can I use such arrays? - by faff - 02.04.2013, 13:25
Re: Can I use such arrays? - by Darth1993 - 02.04.2013, 13:31
Re: Can I use such arrays? - by faff - 02.04.2013, 13:32
Re: Can I use such arrays? - by Darth1993 - 02.04.2013, 13:34
Re: Can I use such arrays? - by Pottus - 02.04.2013, 14:00
Re: Can I use such arrays? - by glbracer - 02.04.2013, 15:47

Forum Jump:


Users browsing this thread: 2 Guest(s)