Garry's Mod Wiki

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

From entities/gmod_cameraprop.lua

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

Page Links


Special Pages


Wikis

?

Render Time: 36ms

DB GetPage 3
Generate Html 10
SaveChanges 10
Render Body 0
Render Sidebar 11