Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/29/20 in all areas

  1. You need to wait for object to be streamed before attaching it. Created objects have a property called 'notifyStreaming' that you can set to true, that way, the object will call the 'entityStreamIn' event when it's created.
    1 point
  2. you need the Player::remoteId property mp.events.add('render', () => { mp.players.forEachInStreamRange(player => { const position = player.position; mp.game.graphics.drawText(`${player.name} [${player.remoteId}]`, [position.x, position.y, position.z], { font: 4, color: [255, 255, 255, 255], scale: [0.5, 0.5], outline: true }) }); });
    1 point
×
×
  • Create New...