ResetEntitySharedData

From RAGE Multiplayer Wiki
Revision as of 19:31, 22 December 2022 by Xabi (talk | contribs) (Created page with "==Syntax== <syntaxhighlight lang="C#" >void NAPI.Data.ResetEntitySharedData(Entity entity, string key);</syntaxhighlight> '''Required Arguments''' *'''entity:''' parameter in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax

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

foreach (Vehicle vehicle in NAPI.Pools.GetAllVehicles())
{
    NAPI.Data.ResetEntitySharedData(vehicle , "SharedDataKey");
}