Garry's Mod Wiki

drive.CalcView

  boolean drive.CalcView( Player ply, table view )

Description

This is used internally - although you're able to use it you probably shouldn't.

Used internally to make DRIVE:CalcView work, called by default from base gamemode's GM:CalcView hook.

Arguments

1 Player ply
The player

Returns

1 boolean
true if succeeded