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

SetEntityTransparency

Материал из RAGE MP Wiki Archive
Версия от 09:16, 30 ноября 2019; imported>Xabi (Created page with "Sets the transparency for the given entity. {{CSharpContainer| {{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}Entity.SetEntityTransparency(NetHandle ent...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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>