EntityDataChange

From RAGE Multiplayer Wiki
Revision as of 11:48, 15 October 2018 by DevGrab (talk | contribs) (→‎Example)

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!");
    }

});