Files

> > CS2D > Lua Scripts > Pickupable Dropped Satchel Charge
Files overviewCS2D overviewLua Scripts overview

English Pickupable Dropped Satchel Charge >

13 comments2 kb, 486 Downloads

old Pickupable Dropped Satchel Charge

GeoB99
Moderator Off Offline

There are times when you place satchel charges in a wrong place and you have no idea how to take them back. You don't have to worry about this. This script allows you to pick all of your satchels without having to rush at finding for these items. Here's what you can do and what you can't:

√ Pick dropped satchel charges from the ground with the Use [E] key;
× Once you have maximum five satchel charges you cannot pick them any more (3rd screenshot);
× If you do not have at least one satchel charge (+ a remote control as you must have it in order to detonate them at any time) you're not able to pick them (4th screenshot).

off-topic Installation

Extract the GetDroppedCharges.lua file to
sys/lua
path. Afterwards open server.lua with a text editor and add the following line:
1
dofile("sys/lua/GetDroppedCharges.lua")
As soon as you save the file, the changes will take effect.

INFO
As of 03 of July, 2017, you are now able to customise and disable the message outputs of this script. Check the More tag for further information on how to use this system.

Message customisation - How To >

Credits

user Apache uwu - file cs2d Weapon Ammo Counts (Took some examples from his script code)
user Dousea - Helped me at fixing annoying bugs

Changelog

ADDED
03.07.17 - Message configuration added (see the details above)
ADDED
18.06.17 - Initial release

illegal Rules & Permissions

You can do anything as you wish with this file. You can also upload it to other reliable sources as long as you have my permission to do so.
edited 8×, last 03.07.17 02:47:16 pm
Approved by Sparty

Download Download

2 kb, 486 Downloads

Comments

13 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

PeaPsycho
GAME BANNED Off Offline

UseFul Stuff
I like it!

old

xsiN
User Off Offline

Wow original
I like it!

old

boncuk
User Off Offline

Nice script, very useful for some aspects in servers
I like it!

old

GeoB99
Moderator Off Offline

@user Dousea: Sure. Will do that later when I have time for it.

old

Ajmin
User Off Offline

Nice one.
I like it!

old

Skyler
BANNED Off Offline

@user Mora: You're Right!, Aswell i like it!
I like it!

old

Mora
User Off Offline

This message would spam everytime you click E. Sombe nbs can't use "--" or remove the line completely.
Why need to? when it lay near trigger_use and you have x5 satchels you press anytime and get tons of messages, if there is +100500 of them. Use "break" to prevent loop from all of them.
I dont like log thing, but since this is the only way to do and nobody did similar - leave it here.
I like it!

old

_3yrus
User Off Offline

Very useful
I like it!

old

Dousea
User Off Offline

This could be actually useful. But I'd like to see settings that could set our own messages. I know it's easy but settings might be better in my opinion, especially with people that unfamiliar with scripting. Otherwise neat idea!
I like it!

old

apex2d
User Off Offline

This is actually nice
I like it!

old

Masea
Super User Off Offline

Purely written. Nice stuff
I like it!

old

Nekomata
User Off Offline

Innovative!
I like it!

old

Shrepard
User Off Offline

Nice idea!
I like it!
To the start Previous 1 Next To the start