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
if IsValid(oldWeapon) then
if oldWeapon:GetClass() == "weapon_vrmod_empty" && string.StartWith(newWeapon:GetClass(), "arcticvr") then
local randomtimername = ply:GetName()
timer.Create( randomtimername .. "vrcrashfixtimer", 0.5, 1, function()
ply:SelectWeapon( "weapon_physgun" )
end)
timer.Create( randomtimername .. "vrcrashfixtimer2", 0.9, 1, function()
ply:SelectWeapon( newWeapon )
end)
return true
else
end
end
end )
or wherever gmod is installed. Remember to backup init.lua first in case it doesn't work or you want to revert
If you want the intermediary weapon to be something other than physgun just change "weapon_physgun" to some weapon the player
will always have with them.
I just did a little workaround script that makes the player automatically quickly switch to a different weapon in between the switch to an arctic vr weapon. Shitty workaround but works