安装 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(越南语)
Українська(乌克兰语)
报告翻译问题






You are just cloaking the player, not cloaking the PS Items.
http://psteamcommunity.yuanyoumao.com/dmca/create/372779406
i do not have any clue^^ but thanks :)
However, this was quite some time ago, and if your problem came with the new update, I have honestly no idea what could cause it, so if you could do some testing yourself with your item, maybe that could help.
local MaxAmmo = CreateConVar("cd_ammo", "60", {FCVAR_PROTECTED}, "Max ammo for cloaking device") and SWEP.Primary.ClipSize = GetConVarNumber("cd_ammo")
[ERROR] gamemodes/terrortown/entities/weapons/weapon_ttt_cloak/shared.lua:100: attempt to index global 'SWEP' (a nil value)
1. PreDrop - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak/shared.lua:100
2. DropNotifiedWeapon - gamemodes/terrortown/gamemode/weaponry.lua:201
3. unknown - gamemodes/terrortown/gamemode/player.lua:599
4. FireBullets - [C]:-1
5. ShootBullet - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:318
6. PrimaryAttack - gamemodes/terrortown/entities/weapons/weapon_tttbase.lua:242
7. oldprimary - gamemodes/terrortown/entities/weapons/weapon_zm_rifle.lua:59
8. unknown - addons/tttdamagelogs-master/lua/damagelogs/sv_damageinfos.lua:54
I hope this fixes the issue, or at least no longer displays any error.
10. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
11. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
12. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
13. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
14. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
15. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
16. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
[ERROR] stack overflow
1. GetTable - [C]:-1
2. __index - lua/includes/extensions/weapon.lua:30
3. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:54
4. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
5. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
6. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
7. old_DrawWorldModel - gamemodes/terrortown/entities/weapons/weapon_ttt_cloak.lua:55
8. DrawWorldModel - addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua:343
It can also be easy to see a cloaked player if you are careful enough, most reliable way is to watch for a shadow without a corpse.
-Optional outline for cloaked players (still hard to see, but seeable)
-Using weapons disables the cloak
-A timer on the cloak, you can only use it so long before having to uncloak