Uhhh,hello everyone,im new to half life modding.So,im doing addon for Half-Payne,but here's the thing:
I get a "too many arguments in function call" error.Here is code:
`if ( m_pPlayer->m_rgAmmo[m_iClip] <= 0) {
m_pPlayer->ComplainAboutLowAmmo(
m_iId == WEAPON_GLOCK ||
m_iId == WEAPON_GLOCK_TWIN ||
m_iId == WEAPON_INGRAM ||
m_iId == WEAPON_INGRAM_TWIN ||
m_iId == WEAPON_PYTHON ||
m_iId == WEAPON_CROSSBOW ||
m_iId == WEAPON_MP5
);
}
return 0;`