mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[saco] Implement/match CNetPlayer constructor
This commit is contained in:
@ -1,2 +1,16 @@
|
||||
|
||||
#include "../main.h"
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
CNetPlayer::CNetPlayer(PCHAR szPlayerName, BOOL bIsNPC)
|
||||
{
|
||||
m_bIsNPC = bIsNPC;
|
||||
field_C = 0;
|
||||
field_4 = 0;
|
||||
m_PlayerName = szPlayerName;
|
||||
m_pRemotePlayer = new CRemotePlayer();
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
|
@ -15,6 +15,8 @@ public:
|
||||
int field_C;
|
||||
CRemotePlayer *m_pRemotePlayer;
|
||||
std::string m_PlayerName;
|
||||
|
||||
CNetPlayer(PCHAR szPlayerName, BOOL bIsNPC);
|
||||
};
|
||||
|
||||
//----------------------------------------------------
|
||||
|
Reference in New Issue
Block a user