Beispiel #1
0
void CPedRPCs::SetPedOnFire ( CClientEntity* pSource, NetBitStreamInterface& bitStream )
{
    bool bIsOnFire;

    if ( bitStream.ReadBit ( bIsOnFire ) )
    {
        // Grab the ped
        CClientPed * pPed = m_pPedManager->Get ( pSource->GetID (), true );
        if ( pPed )
        {
            pPed->SetOnFire( bIsOnFire );
        }
    }
}