English [Bolt]Throwable Knives icon

27 comments
28.09.13 10:25:15 pm
like 21 like it!
3 kb, 584 Downloads
Avo
User
Offline Off
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
imageimage
edited 3×, last 19.12.13 10:12:17 pm
ok This file has been reviewed and approved by EngiN33R (03.12.15 08:55:52 pm)

Comments

27 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
01.07.17 12:09:37 pm
Up
GeoB99
Moderator
Offline Off
@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.
30.06.17 09:24:49 pm
like I like it!
Up
Jedediastwo
User
Offline Off
Have way to change to machete? I changed but nothing happens
04.11.13 07:40:10 pm
Up
Avo
User
Offline Off
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.
07.10.13 07:04:42 am
like I like it!
Up
TK Gunz FBI
User
Offline Off
NICE!
02.10.13 06:59:34 pm
like I like it!
Up
Deleted
User
Offline Off
It's very good on standard mode.
02.10.13 12:17:03 pm
like I like it!
Up
Blank M_ask
User
Offline Off
good job!!
01.10.13 06:41:34 pm
like I like it!
Up
Deleted
User
Offline Off
Look'd at screens looks nice.
30.09.13 03:02:00 pm
like I like it!
Up
ubmasterr
BANNED
Offline Off
Avesome!
30.09.13 02:10:37 pm
Up
WinterPwnd
User
Offline Off
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.
30.09.13 01:55:15 pm
like I like it!
Up
Deathliger
User
Offline Off
nice work bro
edited 1×, last 19.04.17 01:59:15 pm
29.09.13 11:57:01 pm
like I like it!
Up
MikuAuahDark
User
Offline Off
Reminds me to Throwable Machete
29.09.13 04:53:30 pm
like I like it!
Up
alex72super
User
Offline Off
Great job!

keep making awesome scripts!

user Thug Life are you ok?
29.09.13 04:00:18 pm
like I like it!
Up
Thug Life
User
Offline Off
Is a simple script based by a good idea, so I can't like it, sorry
29.09.13 02:31:06 pm
like I like it!
Up
Sebax
User
Offline Off
Reminds me of Action Half-life
29.09.13 02:28:12 pm
like I like it!
Up
Dare
User
Offline Off
Good job. It's beautiful man..
29.09.13 01:13:14 pm
like I like it!
Up
WaLToR
User
Offline Off
Cool !!!
29.09.13 12:31:33 pm
like I like it!
Up
Gokhanq7
User
Offline Off
very good lua
29.09.13 12:07:25 pm
like I like it!
Up
Rainoth
Moderator
Offline Off
Like for victim's nickname.
29.09.13 12:03:42 pm
like I like it!
Up
Junior3534
User
Offline Off
nice !!!
29.09.13 11:11:08 am
like I like it!
Up
71
COMMUNITY BANNED
Offline Off
me leik 4 frendez!
To the start Previous 1 2 Next To the start