When you receive and weapon, 'stripWeapons' drops all weapons that you have.. But I want to save the primary weapon, like the usp/deagle..
Example when you choose AWP
PHP Code:
case 0: {
stripWeapons(id)
give_item(id, "weapon_awp")
cs_set_user_bpammo(id , CSW_AWP, 30)
ColorChat(id, GREY, "^3[^4SERVER^3] ^1You received AWP")
}
stripWeapons
PHP Code:
public stripWeapons(id) {
// Strip all weapons
strip_user_weapons(id)
// Give knife
give_item(id, "weapon_knife")
// Give the primary weapon that had the user?
// code
}