Files
SA-MP/server/player.h
T

48 lines
746 B
C++

#ifndef SAMPSRV_PLAYER_H
#define SAMPSRV_PLAYER_H
#pragma pack(1)
typedef struct _PLAYER_SPAWN_INFO
{
BYTE byteTeam;
int iSkin;
BYTE field_5;
VECTOR vecPos;
float fRotation;
int iSpawnWeapons[3];
int iSpawnWeaponsAmmo[3];
} PLAYER_SPAWN_INFO;
//----------------------------------------------------
#pragma pack(1)
class CPlayer
{
public:
// Size: 11486
char _pad0[10509];
BOOL field_290D;
char _pad2911[748];
PLAYER_SPAWN_INFO m_SpawnInfo;
BOOL m_bHasSpawnInfo;
char _pad2C2F[175];
void Say(unsigned char * szText, BYTE byteTextLength);
void SetSpawnInfo(PLAYER_SPAWN_INFO *pSpawn);
};
//----------------------------------------------------
#endif
//----------------------------------------------------
// EOF