Code:
public DeleteUSP()
{
new USP = find_ent_by_class(-1, "weapon_usp")
while(USP)
{
remove_entity(USP)
USP = find_ent_by_class(USP, "weapon_usp")
}
}
However its best to use what VEN recommended! The above is only a portion of what you must code to remove weapons.