/**
* Stores a player's game data.
*/
enum _:AC_ePlayer {
/**
* Player's last known state.
*/
AC_pState,
/**
* Player's sync status.
*/
AC_pSync,
/**
* Keeps track of player's sync failures.
*/
AC_pSyncFails[AC_eSync],
/**
* Stores latest FPS measurements.
*/
AC_pFPS[AC_MAX_FPS_INDEX],
/**
* Last FPS index used.
*/
AC_pFPSIndex,
/**
* The time (in ms) when the player was last updated.
*/
AC_pLastUpdate,
/**
* Player's health.
*/
Float:AC_pHealth,
/**
* Player's armour.
*/
Float:AC_pArmour,
/**
* Player's money.
*/
AC_pMoney,
/**
* The latest time (in ms) when the player died.
*/
AC_pLastDeath,
/**
* Player's latest known position.
*/
Float:AC_pPos[3],
/**
* Player's latest known velocity.
*/
Float:AC_pVelocity[3],
/**
* Player's weapons (ID and ammo).
* Two fields are used instead of a bidimensional array because Pawn doesn't support 4D arrays.
*/
AC_pWeaponsID[AC_MAX_WEAPON_SLOTS],
AC_pWeaponsAmmo[AC_MAX_WEAPON_SLOTS],
/**
* Player's special action.
*/
AC_pSpecialAction,
};
/**
* Stores players' game data.
*/
stock AC_players[MAX_PLAYERS][AC_ePlayer];