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
ais_gui.lua line 320:
local spine = ent:LookupBone("ValveBiped.Bip01_Spine2")
local lookPos = ent:GetBonePosition(spine) or ent:WorldSpaceCenter()
should be
local spine = ent:LookupBone("ValveBiped.Bip01_Spine2") or false
local lookPos = spine and ent:GetBonePosition(spine) or ent:WorldSpaceCenter()
This will now properly display character if bone structure is non standard; allowing you to use the inventory with a custom animation playermodel.
tl;dr GetBonePosition doesn't always play nice when given a nil value. So check if it is a non nil val and if so run GetBonePosition. :) <3