math.clamp

Overloads


int clamp( float value, float min, float max )

int clamp( float min, float max )

Clipboard test -> "local result = math.clamp(value,min,max)"

State: client/server/shared?

github-logo.png Github

Description

Test1234

 

Code example


function gui.ModelExplorer:OnInitialize()
	gui.AssetExplorer.OnInitialize(self)

	self:SetAssetType(asset.TYPE_MODEL)
	self:SetFileExtensions(asset.MODEL_FILE_EXTENSION,{"mdl","vmdl_c","nif"})
end

 

Similar Items