Перейти к содержанию

SetEntityTransparency

Материал из RAGE MP Wiki Archive

Sets the transparency for the given entity.


<syntaxhighlight lang="csharp">void NAPI.Entity.SetEntityTransparency(NetHandle entity, int newAlpha);</syntaxhighlight>

Parameters

  • entity: parameter input should be in NetHandle type
  • newAlpha: parameter input should be in int type


Example

<syntaxhighlight lang="csharp"> // Code here... </syntaxhighlight>