Hello.
Code:
new const g_weaps[] =
{
"weapon_357",
"weapon_9mmAR",
"weapon_9mmhandgun",
"weapon_crossbow",
"weapon_crowbar",
"weapon_egon",
"weapon_gauss",
"weapon_handgrenade",
"weapon_hornetgun",
"weapon_rpg",
"weapon_satchel",
"weapon_shotgun",
"weapon_snark",
"weapon_tripmine"
}
How can i check if arg2 contains an item from this list, and if it does, to give_item(player,arg2) ?
Thanks !