15.11.2015, 19:22
pawn Код:
enum PlayerInfo
{
id,
Money,
OtherStuff
}
new PInfo[MAX_PLAYERS][PlayerInfo];
pawn Код:
for(new i; i < sizeof(PInfo); i++)
{
PInfo[playerid][i]=0;
}
enum PlayerInfo
{
id,
Money,
OtherStuff
}
new PInfo[MAX_PLAYERS][PlayerInfo];
for(new i; i < sizeof(PInfo); i++)
{
PInfo[playerid][i]=0;
}
static const cEmptyInfo[PlayerInfo];
PInfo[playerid] = cEmptyInfo;