Files

> > CS2D > Lua Scripts > Drop Knife
Files overviewCS2D overviewLua Scripts overview

English Drop Knife >

32 comments897 b, 1,033 Downloads

old 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
edited 5×, last 03.09.10 04:04:11 pm
Approved by Infinite Rain

Download Download

897 b, 1,033 Downloads

Comments

32 comments
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

old

TurkeySpy
User Off Offline

Wow
I like it!

old

Dream Ahmed
BANNED Off Offline

cool script test kinfe is cool
I like it!

old thx

IspyI
User Off Offline

cool 5
I like it!

old

radhouane
BANNED Off Offline

thanks for this

old Fix

sixpack
User Off Offline

Update to v2.0
Instead of drop, wich is going to drop the item and after 10 seconds its going to disapear, use 2 commands. strip, to remove the item from player and then the spawnitem command to make it stay for ever. Its a 1-minute fix.

old

lol 4 idiot 2
User Off Offline

cool thx 3/5 good mode
I like it!

old

HaRe
User Off Offline

Yeah, do it also try to reinstall CS2D and put the script there

old

Phenixtri
User Off Offline

well it isnt the knife just disappears. can i pm u the lua to u to see if it has any errors?
I like it!

old

HaRe
User Off Offline

ftw -.- shouldnt happen idk what uve did with ur files but should work

old

Phenixtri
User Off Offline

no when i drop the knife it disappears nothing on the ground & no drop model at all in ur files. i only have my knife_d model in my gfx/weapons folder.

knife rly disappears too as when i switch game modes or respawn their is still no knife
I like it!

old

HaRe
User Off Offline

it does drop dosent it?, It has already an model ....

old

Phenixtri
User Off Offline

well u know how u can drop other weapons in game? the dropped weapons have the own models like usp has a usp_d
just look in ur gfx/weapons folder to see what i mean.

d short for dropped.

basically i want to make it so that when u drop the knife it appears on the ground.

i already made a knife_d model for both mt CS:S mod & NTDs crowbar for half life mod.

I want to make it so that u can also get the knife back by walking over the knife_d model IE picking it up like with other weapons.
I like it!

old

HaRe
User Off Offline

knife drop model??? idk what u mean but yes u can use it

EDIT:

Fixed an bug it should work perfect now...
edited 1×, last 03.09.10 04:04:37 pm

old

Phenixtri
User Off Offline

thank u man mind if me & NTD use this script for the half life mod that were working on?

PS is there any way it could be modified to allow for a knife drop model?
I like it!
edited 1×, last 03.09.10 03:44:50 am

old

delta04
User Off Offline

SCREENSHOTS!!!.......................

old

BOT
User Off Offline

1/2 => idea
0/1 => utility
1/1 => scripting
1/1 => description
I like it!

old

Sudden Death
User Off Offline

i think its dont usefull on standard ;p who drop knife?
but idea very good
I like it!

old

HaRe
User Off Offline

ahm yes im s-mod there actualy im Admin -.-

old

SRAN
User Off Offline

Hey aren't you the super moderator of wfw gaming? also good script.
I like it!
To the start Previous 1 2 Next To the start