Garry's Mod Wiki

Revision Difference

drive.CalcView#565926

<function name="CalcView" parent="drive" type="libraryfunc"> <description> <internal></internal> Used internally to make <page>DRIVE:CalcView</page> work, called by default from `base` gamemode's <page>GM:CalcView</page> hook. </description> <realm>Shared</realm> <file line="154-L162">lua/includes/modules/drive.lua</file> <args> <arg name="ply" type="Player">The player</arg>⤶ <arg name="view" type="table{ViewData}">The view, see <page>Structures/ViewData</page></arg>⤶ <arg name="ply" type="Player">The player.</arg>⤶ <arg name="view" type="table{ViewData}">The view, see <page>Structures/ViewData</page>.</arg>⤶ </args> <rets> <ret name="" type="boolean">true if succeeded</ret>⤶ <ret name="" type="boolean">True if succeeded.</ret>⤶ </rets> </function>