Garry's Mod Wiki

Garry's Mod Wiki

  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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...