Forum

> > CS2D > Scripts > Force Drop
Forums overviewCS2D overview Scripts overviewLog in to reply

English Force Drop

4 replies
To the start Previous 1 Next To the start

old Force Drop

WexDex
User Off Offline

Quote
Hello there, as the title says. it's like making ANY player drop a weapon with the same AMMO and AMMOIN.
Thanks.
EDIT : please help
edited 2×, last 25.03.18 07:28:38 pm

old Re: Force Drop

T-69
User Off Offline

Quote
I... I don't understand... Is this a LUA request or what?

old Re: Force Drop

DC
Admin Off Offline

Quote
You can use cs2d cmd strip and cs2d cmd spawnitem to fake dropping (optionally also cs2d cmd 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.

old Re: Force Drop

WexDex
User Off Offline

Quote
ah ok i understand. you can close it now √

Admin/mod comment

okay. we normally don't close threads in case of follow up questions /DC
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview