EntityDataChange

From RAGE Multiplayer Wiki
Revision as of 13:43, 26 October 2018 by Rootcause (talk | contribs) (Replaced HTML with template)

Example

Client-Side
// Other player data changed
mp.events.add('entityDataChange', (entity, key, value) => {
    if(entity.type == "player")
    {
        mp.gui.chat.push("Entitydata has been changed!");
    }
});