EntityModelChange

From RAGE Multiplayer Wiki

Event triggered when an entity model changes.

Server-Side
Event

 C#  JavaScript




C# Syntax


JavaScript Syntax

Parameters

  • entity: Entity
  • oldModel: Number - hash of the old model

Example

mp.events.add("entityModelChange", (entity, oldModel) => {
 // Do what you want.
});


See also