Garry's Mod Wiki

SpawnIcon:SetModelName

SpawnIcon:SetModelName

  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

Special Pages


Wikis

?

Render Time: 67ms

DB GetPage 40
Generate Html 3
SaveChanges (1) 14
Render Body 0
Render Sidebar 7