Garry's Mod Wiki

Revision Difference

drive.CalcView#563491

<function name="CalcView" parent="drive" type="libraryfunc"> <description> <internal></internal> Used internally to make <page>DRIVE_METHOD:CalcView</page> work, called by default from `base` gamemode's <page>GM:CalcView</page> hook. 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> </args> <rets> <ret name="" type="boolean">true if succeeded</ret> </rets> </function>