Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
1. lastWeapon - lua/autorun/server/quickknife.lua:51
2. unknown - lua/autorun/server/quickknife.lua:39
Timer Failed! [Simple][@lua/autorun/server/quickknife.lua (line 39)]
Also please update
When I've a little bit more experience with lua, I might be able to improve it.
[Quick Knife [Insurgency Knives]] lua/autorun/server/quickknife.lua:51: attempt to index local 'ply' (a nil value)
1. lastWeapon - lua/autorun/server/quickknife.lua:51
2. unknown - lua/autorun/server/quickknife.lua:39
Timer Failed! [Simple][@lua/autorun/server/quickknife.lua (line 39)]
One button press, 60 fps, standing completely still in spawn.
Meaning the timer has a very narrow time frame for changing weapons.
One should always press the knife button only once.
This also happens when the game doesn't run smoothly.
[Quick Knife [Insurgency Knives]] lua/autorun/server/quickknife.lua:43: attempt to index global 'ply' (a nil value)
1. attack - lua/autorun/server/quickknife.lua:43
2. unknown - lua/autorun/server/quickknife.lua:37
Timer Failed! [Simple][@lua/autorun/server/quickknife.lua (line 37)]
[Quick Knife [Insurgency Knives]] lua/autorun/server/quickknife.lua:47: attempt to index global 'ply' (a nil value)
1. loose - lua/autorun/server/quickknife.lua:47
2. unknown - lua/autorun/server/quickknife.lua:38
Timer Failed! [Simple][@lua/autorun/server/quickknife.lua (line 38)]
[Quick Knife [Insurgency Knives]] lua/autorun/server/quickknife.lua:51: attempt to index local 'ply' (a nil value)
1. lastWeapon - lua/autorun/server/quickknife.lua:51
2. unknown - lua/autorun/server/quickknife.lua:39
Timer Failed! [Simple][@lua/autorun/server/quickknife.lua (line 39)]
I don't know what's fully causing it.
I will update it soon.
someconvarname = CreateConVar("qk_knife", "weapon_name" (or number), {FCVAR_ARCHIVE}, "Description)")
then you just make variable using someconvarname:GetString()
thats the manual way atleast, you can also use concommand.Add which creates new console command that runs a function, just make said function grab weapon class and do your thing from there
Then type:
bind f Knife (mind the capital K)
You will lose your flashlight bind with this. Bind it with any other key.
This is the first time I actually scripted something from scratch >.<
1. attack - lua/autorun/server/quickknife.lua:43
2. unknown - lua/autorun/server/quickknife.lua:37
Timer Failed! [Simple][@lua/autorun/server/quickknife.lua (line 37)]
[Quick Knife [Insurgency Knives]] lua/autorun/server/quickknife.lua:47: attempt to index global 'ply' (a nil value)
1. loose - lua/autorun/server/quickknife.lua:47
2. unknown - lua/autorun/server/quickknife.lua:38
Timer Failed! [Simple][@lua/autorun/server/quickknife.lua (line 38)]
[Quick Knife [Insurgency Knives]] lua/autorun/server/quickknife.lua:51: attempt to index local 'ply' (a nil value)
1. lastWeapon - lua/autorun/server/quickknife.lua:51
2. unknown - lua/autorun/server/quickknife.lua:39
Timer Failed! [Simple][@lua/autorun/server/quickknife.lua (line 39)]