Files

> > CS2D > Lua Scripts > [Bolt]Throwable Knives
Files overviewCS2D overviewLua Scripts overview

English [Bolt]Throwable Knives >

27 comments3 kb, 590 Downloads

old [Bolt]Throwable Knives

Avo
User Off Offline

Simple script, not done before. As you expect (title is really obvious), with this script you will be able to throw your knife and damage or kill your enemy.

• If friendly fire is off, you won't damage yourself and your teammates. If ff is on, you will.
• You can change damage per hit. 75 by default.
• You can change if your knife is stripped, when you throw it. It's true by default (you'll lose your knife).
• What Yates said. I tested and weapon won't be stripped from player, if it's his only weapon.

I get inspirated by user Livia's object method of treating players(thread cs2d Extending native functions) and I made similar one. This script needs my ObjectPlayer.lua to work!

How to install this script? Just unpack zip file to your sys/lua/autorun folder
edited 3×, last 19.12.13 10:12:17 pm
Approved by EngiN33R

Download Download

3 kb, 590 Downloads

Comments

27 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

GeoB99
Moderator Off Offline

@user Jedediastwo: On 49 line,
if p:Weapon() == 50 then
, change the value ID of the weapon to 69. Furthermore you must also replace the
attack2
hook with cs2d lua hook attack on
OnAttack2
function since machetes don't have a special secondary attack unlike knives.

old

Jedediastwo
User Off Offline

Have way to change to machete? I changed but nothing happens
I like it!

old

Avo
User Off Offline

Thank you, guys. If you have suggestions or ideas for similar script that doesn't change gameplay so much, pm me or post it here.

old

Deleted
User Off Offline

It's very good on standard mode.
I like it!

old

Deleted
User Off Offline

Look'd at screens looks nice.
I like it!

old

ubmasterr
BANNED Off Offline

Avesome!
I like it!

old

WinterPwnd
User Off Offline

Does it instantly get trown after clicking or is there a delay? If there is no delay, you might want to add at least a 0.3 to 0.5sec because it will be too strong imo, you just trow swap to deagle and you get a 1 shot kill.

old

Deathliger
User Off Offline

nice work bro
I like it!
edited 1×, last 19.04.17 01:59:15 pm

old

MikuAuahDark
User Off Offline

Reminds me to Throwable Machete
I like it!

old

alex72super
User Off Offline

Great job!

keep making awesome scripts!

user Thug Life are you ok?
I like it!

old

Thug Life
User Off Offline

Is a simple script based by a good idea, so I can't like it, sorry
I like it!

old

Sebax
User Off Offline

Reminds me of Action Half-life
I like it!

old

Dare
User Off Offline

Good job. It's beautiful man..
I like it!

old

WaLToR
User Off Offline

Cool !!!
I like it!

old

Gokhanq7
User Off Offline

very good lua
I like it!

old

Rainoth
Moderator Off Offline

Like for victim's nickname.
I like it!

old

Junior3534
User Off Offline

nice !!!
I like it!

old

71
COMMUNITY BANNED Off Offline

me leik 4 frendez!
I like it!
To the start Previous 1 2 Next To the start