Показать сообщение отдельно

  #8  
Старый 03.10.2020, 19:29
RazorRw
Флудер
Регистрация: 16.09.2019
Сообщений: 2,013
С нами: 3505395

Репутация: 183


По умолчанию

CNetGame struct:

C++:





Код:
struct
stSAMP
{
char
pad_0
[
44
]
;
void
*
pRakClientInterface
;
char
m_szHostAddress
[
257
]
;
char
m_szHostname
[
257
]
;
bool
m_bDisableCollision
;
bool
m_bUpdateCameraTarget
;
bool
m_bNametagStatus
;
int
m_nPort
;
BOOL                    m_bLanMode
;
uint32_t
m_aMapIcons
[
100
]
;
int
m_nGameState
;
uint32_t
m_lastConnectAttempt
;
Settings
*
m_pSettings
;
char
pad_2
[
5
]
;
void
*
m_pPools
;
// i`m not found :(
}
;


Server settings struct:

C++:





Код:
struct
stServerPresets
{
bool
m_bUseCJWalk
;
unsigned
int
m_nDeadDropsMoney
;
float
m_fWorldBoundaries
[
4
]
;
bool
m_bAllowWeapons
;
float
m_fGravity
;
bool
m_bEnterExit
;
BOOL          m_bVehicleFriendlyFire
;
bool
m_bHoldTime
;
bool
m_bInstagib
;
bool
m_bZoneNames
;
bool
m_bFriendlyFire
;
BOOL          m_bClassesAvailable
;
float
m_fNameTagsDrawDist
;
bool
m_bManualVehicleEngineAndLight
;
unsigned
char
m_nWorldTimeHour
;
unsigned
char
m_nWorldTimeMinute
;
unsigned
char
m_nWeather
;
bool
m_bNoNametagsBehindWalls
;
int
m_nPlayerMarkersMode
;
float
m_fChatRadius
;
bool
m_bNameTags
;
bool
m_bLtdChatRadius
;
}
;
 
Ответить с цитированием