Gamemode.CalcVehicleThirdPersonView
From GMod Wiki
| Event Hook | |
| Hook Name | CalcVehicleThirdPersonView |
| Syntax | GM:CalcVehicleThirdPersonView( Vehicle Vehicle, Player player, Vector origin, Angle angles, Number fov ) |
| Description | Allows you to change the default camera behaviour when in a vehicle. |
| Returns | Table |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.CalcVehicleThirdPersonView]Gamemode.CalcVehicleThirdPersonView [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The return is a fraction of the normal sensitivity (0.5 would be half as sensitive).
- Return -1 to not override.
- Cannot be used via hook.Add