English Drop Knife icon

32 comments
25.07.10 11:58:10 pm
like 14 like it!
897 b, 628 Downloads
HaRe
User
Offline Off
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

Code:
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
edited 5×, last 03.09.10 04:04:11 pm
ok This file has been reviewed and approved by Communism (03.12.15 11:22:49 pm)

Comments

32 comments
Goto Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in
28.07.10 10:56:50 am
like I like it!
Up
palomino
User
Offline Off
Really good work
28.07.10 10:08:50 am
Up
HaRe
User
Offline Off
Tell me wich bug, I think ive already fixed all bugs -.-"
27.07.10 11:51:38 pm
Up
DragonAwper
User
Offline Off
Have Bug!
Have Error!
26.07.10 12:17:26 pm
Up
Admir
User
Offline Off
use parse hook, on 'drop' command
26.07.10 12:14:00 pm
like I like it!
Up
Refresh
User
Offline Off
hmm it can be good for RP servers
26.07.10 10:58:24 am
Up
HaRe
User
Offline Off
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

Code:
1
2
3
4
addhook("join","joinknifeg")
function joinknifeg(id)
     parse("bind "G" "say !dk)
end
26.07.10 10:55:29 am
Up
The Camo
User
Offline Off
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?
26.07.10 10:43:00 am
Up
HaRe
User
Offline Off
@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"
edited 1×, last 26.07.10 10:57:24 am
26.07.10 09:31:30 am
like I like it!
Up
Cure Pikachu
User
Offline Off
The main & nice idea = ∗ ∗ ∗ ∗ °
26.07.10 05:25:14 am
like I like it!
Up
Mirash
User
Offline Off
We do not need it. But it's good for fun
26.07.10 03:30:31 am
like I like it!
Up
0DarkShadow0
User
Offline Off
I dont really like this that much.
26.07.10 12:25:57 am
Up
The Camo
User
Offline Off
@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!
To the start Previous 1 2 Next To the start