mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
[server] Implement HasTimestamps(...)
This commit is contained in:
parent
eb1376c960
commit
167456da23
@ -22,6 +22,17 @@ BYTE GetPacketID(Packet *p)
|
|||||||
|
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
|
|
||||||
|
bool HasTimestamps(Packet *p)
|
||||||
|
{
|
||||||
|
if (p==0) return 0;
|
||||||
|
|
||||||
|
if ((unsigned char)p->data[0] == ID_TIMESTAMP)
|
||||||
|
return true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------
|
||||||
|
|
||||||
CNetGame::CNetGame()
|
CNetGame::CNetGame()
|
||||||
{
|
{
|
||||||
m_bAllowWeapons = FALSE;
|
m_bAllowWeapons = FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user