Garry's Mod Wiki

Model

string Model( string model )

Description

Runs util.PrecacheModel and returns the string.

Arguments

1 string model
The model to precache.

Returns

1 string
The same string entered as an argument.

Example

local CAMERA_MODEL = Model( "models/dav0r/camera.mdl" ) function ENT:Initialize() self:SetModel( CAMERA_MODEL ) end

Page Links


Special Pages


Wikis

?

Render Time: 76ms

DB GetPage 45
Generate Html 6
SaveChanges (1) 10
Render Body 0
Render Sidebar 13