Garry's Mod Wiki


SpawnIcon:SetModelName( string mdl )


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.


1 string mdl
The model name to set

Page Links

Special Pages



Render Time: 39ms

DB GetPage 5
Generate Html 7
SaveChanges (1) 13
Render Body 0
Render Sidebar 11