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

ResetEntitySharedData

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

Syntax

<syntaxhighlight lang="C#" >void NAPI.Data.ResetEntitySharedData(Entity entity, string key);</syntaxhighlight>

Required Arguments

  • entity: parameter input should be in Entity type.
  • key: parameter input should be in string type.

Usage example(s)

Example Description <syntaxhighlight lang="C#" > foreach (Vehicle vehicle in NAPI.Pools.GetAllVehicles()) {

   NAPI.Data.ResetEntitySharedData(vehicle , "SharedDataKey");

}</syntaxhighlight>