安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題






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)]