Forum

> > CS2D > Scripts > Force Drop
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Force Drop

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Force Drop

WexDex
User Off Offline

Zitieren
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
2× editiert, zuletzt 25.03.18 19:28:38

alt Re: Force Drop

T-69
User Off Offline

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

alt Re: Force Drop

DC
Admin Off Offline

Zitieren
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.

alt Re: Force Drop

WexDex
User Off Offline

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

Admin/Mod Kommentar

okay. we normally don't close threads in case of follow up questions /DC
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht