i want the gun in my hide n seek server when u start with it u have a random chance to get a gun.. i want to make it so u can only have 1 bullet..
for example.. i have a deagle.. i want it to have 1 bullet.. but when i spawn with it. i have 7 bullets and 1 ammo (7/1) i just want it to be 1/0
this is what i have been putting
EVERYTHING works perfect.. i just want it to have 1 ammo.. for any gun i choose.. like deagle
PHP Code:
if(random_num(0, 100) <= 5)
{
give_item(player, "weapon_awp")
cs_set_user_bpammo(player, CSW_AWP, 1)
client_print(player, print_chat, "You were lucky, you got a AWP with 1 bullet (5 percent chance)")
}