11.07.2016, 17:01
Hi, how would it be possible to make this code shorter?
stock PlayerHasHeavyWeapon(playerid)
{
stock PlayerHasHeavyWeapon(playerid)
{
Код:
if (PlayerHasWeapon(playerid, 25) || PlayerHasWeapon(playerid, 27) || PlayerHasWeapon(playerid, 29) || PlayerHasWeapon(playerid, 30) || PlayerHasWeapon(playerid, 31) || PlayerHasWeapon(playerid, 33) || PlayerHasWeapon(playerid, 34))