• Permanent Third Person View
    3 replies, posted
Hey guys, i've been looking around of facepunch, and I couldnt find what I want, so.. Is there any possibility to make a player spawn, in third-person view, and let him shoot, and play in that position? Help would be appreciated. -Staneh
You can change the players view with [b][url=wiki.garrysmod.com/?title=Gamemode.CalcView]Gamemode.CalcView [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b].
[lua] hook.Add("CalcView", "3rdPerson", function ( ply, pos, angles ) return { origin = pos - angles:Forward() * 100 } end ) hook.Add("ShouldDrawLocalPlayer", "3rdPerson", function( ply ) return true end ) [/lua]
[QUOTE=CombineGuru;21568130][lua] hook.Add("CalcView", "3rdPerson", function ( ply, pos, angles ) return { origin = pos - angles:Forward() * 100 } end ) hook.Add("ShouldDrawLocalPlayer", "3rdPerson", function( ply ) return true end ) [/lua][/QUOTE] Thanks mate.
Sorry, you need to Log In to post a reply to this thread.