安装 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 can make all clients set their model decal to zero on "PlayerInitialSpawn" event. This should include map changes.
simply create a new lua file inside the garrysmod/lua/autorun/server directory with following content:
found this code line at github:
https://github.com/C0nw0nk/Garrys-Mod-Zombie-Survival/blob/master/garrysmod/lua/autorun/server/crash.lua
this also sets r_maxmodeldecal to its default value 50
Best Regards o/
Instead of just having people type in r_drawmodeldecals 0 for fixing crash issues, just put this in your materials' VMTs:
$nodecal 1
It basically does "r_drawmodeldecals 0" automatically for the model only, so no indices error pops up. It should completely eliminate the need to make a separate model.
Check recent addons you have added to your server. If the issue is still there, tell me what part of the body is crashing the game when you shoot at it. Addons that create blood effects are proven to be incompatible.
hook.Add("PlayerInitialSpawn", "anti-crash", function(ply)
ply:SendLua("RunConsoleCommand('r_drawmodeldecals', 0)")
ply:SendLua("RunConsoleCommand('r_maxmodeldecal', 50)")
end)
May work, I haven't tried it. But along the lines of $nodecal 1 fixing the issue without it; I don't think it does. I am not doing this in single player. I am doing this on a dedicated NFO game server.
This was supposed to be solved long time ago.
[EDIT] The update done 2 days ago only fixed fingers and arms issues, and should have done nothing else.