native cod_set_user_unlimited_ammo(id, value, type = ROUND, weapons = FULL);
id | Player index |
value | True to enable bonus, false to disable |
type | Bonus type, valid types are: CLASS - for class ITEM - for item ADDITIONAL - static bonus ROUND - until round end DEATH - until death DAMAGE_GIVEN - until player damage enemy DAMAGE_TAKEN - until player is hurt |
weapons | Weapons in 1<<CSW_* format or FULL for all weapons. |
Sets player unlimited ammo bonus value.
Weapons can be bitsum, for example bonus for both M4A1 and AK47: (1<<CSW_M4A1)|(1<<CSW_AK47).
This function has no return value.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.