hello i'm newbie in scriptng..
can you help me by showing the script that will give unlimited he grenade..
i have try try this script but it doesn't work..
PHP Code:
public giveheifnothas(id) {
new nades = cs_get_user_bpammo(id, CSW_HEGRENADE)
if (nades == 0) {
give_item(id, "weapon_hegrenade")
cs_set_user_bpammo(id, CSW_HEGRENADE, NADEAMOUNT)
}
else if (nades == 1) {
cs_set_user_bpammo(id, CSW_HEGRENADE, NADEAMOUNT)
}
return PLUGIN_CONTINUE
}
i want the script that allow player to use HE grenade only..(unlimited grenade)