Dateien

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

Englisch Drop Knife >

32 Kommentare897 b, 1.014 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, 1.014 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

TurkeySpy
User Off Offline

Wow
Ich mag es!

alt

Dream Ahmed
BANNED Off Offline

cool script test kinfe is cool
Ich mag es!

alt thx

IspyI
User Off Offline

cool 5
Ich mag es!

alt

radhouane
BANNED Off Offline

thanks for this

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

alt

lol 4 idiot 2
User Off Offline

cool thx 3/5 good mode
Ich mag es!

alt

HaRe
User Off Offline

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

alt

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?
Ich mag es!

alt

HaRe
User Off Offline

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

alt

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
Ich mag es!

alt

HaRe
User Off Offline

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

alt

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.
Ich mag es!

alt

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...
1× editiert, zuletzt 03.09.10 16:04:37

alt

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?
Ich mag es!
1× editiert, zuletzt 03.09.10 03:44:50

alt

delta04
User Off Offline

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

alt

BOT
User Off Offline

1/2 => idea
0/1 => utility
1/1 => scripting
1/1 => description
Ich mag es!

alt

Sudden Death
User Off Offline

i think its dont usefull on standard ;p who drop knife?
but idea very good
Ich mag es!

alt

HaRe
User Off Offline

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

alt

SRAN
User Off Offline

Hey aren't you the super moderator of wfw gaming? also good script.
Ich mag es!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang