Garry's Mod Wiki

Entity:GetModelScale

Description

Gets the selected entity's model scale.

Returns

1 number
Scale of that entity's model.

Example

This example shows how one can get the model scale of their self.

lua_run_cl print(LocalPlayer():GetModelScale())
Output: 1

Page Links


Special Pages


Wikis

?

Render Time: 29ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 11
Render Body 0
Render Sidebar 12