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

SetEntityModel

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

Sets the model for the given entity.


<syntaxhighlight lang="csharp">void NAPI.Entity.SetEntityModel(NetHandle handle, int modelHash);</syntaxhighlight>

Parameters

  • handle: parameter input should be in NetHandle type
  • modelHash: parameter input should be in int type


Example

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