Garry's Mod Wiki

Garry's Mod Wiki

  SpawnIcon:SetModelName( string mdl )

Description

This is used internally - although you're able to use it you probably shouldn't. This is done automatically by SpawnIcon. You do not need to call this. Doing so may cause unforeseen consequences.

Sets the model name, so it can be retrieved with SpawnIcon:GetModelName. Use Panel:SetModel instead.

Arguments

1 string mdl
The model name to set

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 twice a day. Edits and history are not available.

Last Parsed: Loading...