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