f4menu con command for selling entities and shipment_

I have some issues, can someone provide me the con command for selling entities and shipments for a custom fmenu
like fx RunConsoleCommand(“DarkRP”, “buyammo”, ammo.id)