Quote:
Originally Posted by Alka
"cs_set_weapon_ammo(fm_get_weapon_id(id, "weapon_deagle"), 1);"
;)
|
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)")
}
so how am i suppoused to do it in that? is it gonna be like
PHP Code:
if(random_num(0, 100) <= 5)
{
give_item(player, "weapon_deagle")
cs_set_weapon_ammo(fm_get_weapon_id(id, weapon_deagle), 1); ;)
client_print(player, print_chat, "You were lucky, you got a deagle with 1 bullet (5 percent chance)")
}
??