You can use strip and spawnitem to fake dropping (optionally also sv_soundpos to play a drop sound) but you can't get exact ammo values via the CS2D API (there are reasons for this limitation).
There are however Lua solutions for ammo approximations in the file archive which would also allow you to get the ammo values anyway.