mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 03:33:04 +08:00
[server] Implement and match n_DisableNameTagLOS(...)
This commit is contained in:
+5
-2
@@ -38,6 +38,11 @@ private:
|
||||
int m_iServerTickRate;
|
||||
|
||||
BOOL m_bLanMode;
|
||||
|
||||
void UpdateNetwork();
|
||||
|
||||
public:
|
||||
|
||||
int m_iShowPlayerMarkers;
|
||||
bool m_bShowNameTags;
|
||||
BYTE m_byteWorldTime;
|
||||
@@ -65,8 +70,6 @@ private:
|
||||
double m_dElapsedTime;
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
||||
CScriptTimers* GetTimers() { return m_pScriptTimers; };
|
||||
|
||||
CNetGame();
|
||||
|
||||
@@ -405,10 +405,11 @@ static cell AMX_NATIVE_CALL n_SetNameTagDrawDistance(AMX *amx, cell *params)
|
||||
return 0;
|
||||
}
|
||||
|
||||
// native DisableNameTagLOS()
|
||||
static cell AMX_NATIVE_CALL n_DisableNameTagLOS(AMX *amx, cell *params)
|
||||
{
|
||||
// TODO: DisableNameTagLOS
|
||||
return 0;
|
||||
pNetGame->m_bNameTagLOS = false;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static cell AMX_NATIVE_CALL n_ConnectNPC(AMX *amx, cell *params)
|
||||
|
||||
Reference in New Issue
Block a user