native

get_decal_index

Syntax

native get_decal_index(const szDecalName[]);

Description

Returns the index of a decal.

Parameters

szDecalName Decal name

Return

Decal index >= 0, or -1 if decal was not found