Entity/SetModelScale

From Garry's Mod
Jump to: navigation, search
Entity:SetModelScale( )

Contents

Description

Scales the model of the entity.

Arguments

number scale

A float to scale the model by

Arguments

number deltaTime

Transition time of the scale change

Examples

Example

From the "Biggify" option of right clicking an npc

ent:SetModelScale( ent:GetModelScale() * 1.25, 1 )


Personal tools
Navigation