ok i got that working now...but for some reason i cannot set the ammo defined for the weapon...
I.E.
Code:
new rnd
rnd = random_num(0,100)
if( rnd <= 5)
{
give_item(id, "weapon_awp")
cs_set_user_bpammo(id, CSW_AWP, 0)
cs_set_weapon_ammo(id, 3)
}
else if( rnd > 5)
{
set_user_footsteps(id, 0)
}
FOR SOME REASON...it give you awp...if number is in range...but gives it to you with 10 bullets and none in the pack.