mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CVehicle::IsSirenOn()
This commit is contained in:
parent
dfafccbf37
commit
08ec2c3591
@ -204,5 +204,12 @@ void CVehicle::SetSirenOn(BYTE byteState)
|
|||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
BOOL CVehicle::IsSirenOn()
|
||||||
|
{
|
||||||
|
return (m_pVehicle->bSirenOn == 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ public:
|
|||||||
BOOL HasADriver();
|
BOOL HasADriver();
|
||||||
|
|
||||||
void SetSirenOn(BYTE byteState);
|
void SetSirenOn(BYTE byteState);
|
||||||
|
BOOL IsSirenOn();
|
||||||
|
|
||||||
void SetEngineState(BOOL bState);
|
void SetEngineState(BOOL bState);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user