Код:
enum pInfo
{
pSQLId,
pName[24],
pAssHole
}
new PlayerInfo[MAX_PLAYERS][pInfo];
1) enum arrays the list out for parsing
2) PlayerInfo is the Array Named
3) MAX_PLAYERS im sure you can figure out
4) pInfo is the arrayed Item
Example:
PlayerInfo[playerid][pAssHole] Holds a value so long as 'pAssHole' is defined in the 'enum'
This is commonly used with the value changes often like Players Money or Health.
if(PlayerInfo[playerid][pAssHole] > 0)
{
Kick(playerid);
}
else
{
SendClientMessage(playerid,COLOR_LIGHTRED,'Your Still an Asshole, We dont care WHAT the Server Says!');
Kick(playerid);
}