C++:enum { MAX_PLAYERS = 1004 }; int m_nLargestId; CPlayerInfo* m_pObject[MAX_PLAYERS]; BOOL m_bNotEmpty[MAX_PLAYERS]; BOOL m_bPrevCollisionFlag[MAX_PLAYERS]; struct SAMPAPI_EXPORT { int m_nPing; int m_nScore; ID m_nId; std::string m_szName; CLocalPlayer* m_pObject; } m_localInfo;
C++:
struct SAMPAPI_EXPORT {
int m_nPing;
int m_nScore;
ID m_nId;
#ifndef _DEBUG
private:
int __alignment;
public:
#endif
std::string m_szName;
CLocalPlayer* m_pObject;
} m_localInfo;