mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +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()
|
||||
{
|
||||
m_bAllowWeapons = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user