[Bugged?] SetModelScale()



Description

Scales the model of the entity.
Arguments

 [number](http://wiki.garrysmod.com/page/Category:number) scale
A float to scale the model by

 [number](http://wiki.garrysmod.com/page/Category:number) deltaTime
Transition time of the scale change

However just testing it quickly when I run Entity(555):SetModelScale(5,1) nothing happens over. Should it not grow from it’s current size to a scale of 5 over a 1 second duration?

Entity(555):SetModelScale(5,0) works instantly, just any transitional delay stops it from working.

Try 0.5 as delay.
SetModelScale(5, 0.5)

Nothing, no error or effect or anything.

SetModelScale(5,0) works fine, (5,0.5) does nothing.

Some weird shit happening man.

This is weird because it works on NPC’s
https://github.com/garrynewman/garrysmod/blob/master/garrysmod/lua/autorun/properties/npc_scale.lua

Works on a few things, I just tried it on a few basic models and it wouldn’t work. Go try SetModelScale(5,0.5) on a blue barrel.