Dateien

> > CS2D > Lua Scripts > Drop Knife
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Drop Knife >

32 Kommentare897 b, 974 Downloads

alt Drop Knife

HaRe
User Off Offline

The name says everything,
Finaly you can drop your knife and buy it,
so i made an script that you start with Claw's (DMG 0)
and if you write !bk (stands for buyknife) then you get an knife
and lose 1000 if you dont have 1000 it says "you dont have enough money to buy a knife"
So if you write !dk (stands for Drop knife) it drops the knife and it spawns in the map when you go over it you get it.

Known Bugs:
-- None fixed all yet

Write

1
dofile("sys/lua/dropknife.lua")
in your server.lua to enable this

Credits (Who made the script and helpers):
vesa-omar - Script

This can be usefull in jail servers
5× editiert, zuletzt 03.09.10 16:04:11
Zugelassen von Infinite Rain

Download Download

897 b, 974 Downloads

Kommentare

32 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

palomino
User Off Offline

Really good work
Ich mag es!

alt

HaRe
User Off Offline

Tell me wich bug, I think ive already fixed all bugs -.-"

alt

DragonAwper
User Off Offline

Have Bug!
Have Error!

alt

Admir
User Off Offline

use parse hook, on 'drop' command

alt

Refresh
User Off Offline

hmm it can be good for RP servers
Ich mag es!

alt

HaRe
User Off Offline

You can do this

go to console and write

bind "key" "say !dk
thats the dropknife
bind "key" "say !bk
thats the buy knife

And yes i think its possible

1
2
3
4
addhook("join","joinknifeg")
function joinknifeg(id)
	parse("bind "G" "say !dk)
end

alt

The Camo
User Off Offline

Is it possible to put all drops on one word like: /drop (it can't be seen in-game chat) then bind it with G, when people press G to drop 1 weapon, then until released it won't drop... well, this I got from other programs but can it be done in lua?

alt

HaRe
User Off Offline

@The Camo
i dont think its possible couse knife is setted to return 1 wich means you cant drop it

/edit
Knife bug fixed, When you drop an weapon you get a knife but if you attack with it, it says "You dont have an knife.. Knife removed"
1× editiert, zuletzt 26.07.10 10:57:24

alt

Cure Pikachu
User Off Offline

The main & nice idea = ∗ ∗ ∗ ∗ °
Ich mag es!

alt

Mirash
User Off Offline

We do not need it. But it's good for fun
Ich mag es!

alt

0DarkShadow0
User Off Offline

I dont really like this that much.
Ich mag es!

alt

The Camo
User Off Offline

@Vesa-omar I was wondering is it possible to make when you hold the knife to drop when you press G? then it disappears in like 10 seconds? other then that, the claws idea is great!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang