Skip to main content

ResetEntitySharedData

Syntax

```csharp void NAPI.Data.ResetEntitySharedData(Entity entity, string key); ```

Required Arguments

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

Usage example(s)

Example Description

```csharp foreach (Vehicle vehicle in NAPI.Pools.GetAllVehicles()) {

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

} ```