DWORD CIVWeapon::GetAmmoInClip() { DWORD dwAmmoInClip = 0; if(m_pWeapon) XLivePBufferGetDWORD(m_pWeapon->m_ammoInClip, 0, &dwAmmoInClip); return dwAmmoInClip; }
DWORD CIVWeapon::GetAmmoTotal() { DWORD dwAmmoTotal = 0; if(m_pWeapon) XLivePBufferGetDWORD(m_pWeapon->m_ammoTotal, 0, &dwAmmoTotal); return dwAmmoTotal; }
DWORD CPedWeaponSlot::GetAmmo() { if(m_pPedWeaponSlot) { DWORD dwAmmo; XLivePBufferGetDWORD(m_pPedWeaponSlot->m_pAmmo, 0, &dwAmmo); return dwAmmo; } return 0; }
int CIVPlayerInfo::GetDisplayScore() { if(m_pPlayerInfo) { int iScore; XLivePBufferGetDWORD(m_pPlayerInfo->m_pDisplayScore, 0, (DWORD *)&iScore); return iScore; } return 0; }
int CIVPlayerInfo::GetDisplayScore() { #ifdef EXT_LOG CLogFile::Printf(__FUNCSIG__); #endif if(m_pPlayerInfo) { int iScore; XLivePBufferGetDWORD(m_pPlayerInfo->m_pDisplayScore, 0, (DWORD *)&iScore); return iScore; } return 0; }