Off Topic > Games
Gmod gives me script errors whenever I get into a vehicle
<< < (2/3) > >>
blockguy123:

--- Quote from: Zaure on February 25, 2013, 08:53:15 PM ---Paste the function that line is in.

--- End quote ---
what do you mean, the error shows up whenever I get into a car, and I think it means that the 3rd person view has done something wrong and it wont function
Zaure:

--- Quote from: blockguy123 on February 25, 2013, 09:33:36 PM ---what do you mean, the error shows up whenever I get into a car, and I think it means that the 3rd person view has done something wrong and it wont function

--- End quote ---

Go to the directory of the file, open it in a text editor, copy paste the function that contains line 4. Put it in code tags too so it doesn't destroy the indentation and spacing.

The convar "gmod_vehicle_viewmode" was removed in Garry's Mod 13. I can make a stuff fix for it in a bit.
Masterlegodude:
Disable both and re-launch Gmod and see if it works

Then enable SCars and try, TDM Cars might be the issue
Zaure:
http://pastebin.com/diy4BrDU
Assuming the code of that file I found on a SVN page is the same as yours, this will probably work for now (this is a stuff fix, I didn't make anything nice like a toggle feature). Replace all the code in the file with what's in the pastebin. If you want to go thirdperson/firstperson in those vehicles just set up a bind to go back and forth between "ef_vehicle_thirdperson 1" and "ef_vehicle_thirdperson 0".


--- Quote from: Masterlegodude on February 25, 2013, 09:49:44 PM ---Disable both and re-launch Gmod and see if it works

Then enable SCars and try, TDM Cars might be the issue

--- End quote ---

The mod he is using is old and uses a no longer available convar.
Soukuw:
Welcome to Gmod
Navigation
Message Index
Next page
Previous page

Go to full version