SHOW:
|
|
- or go back to the newest paste.
| 1 | "render": () => | |
| 2 | {
| |
| 3 | let pos = mp.players.at(0).getCoords(true); | |
| 4 | mp.game.ui.setTextFont(4); | |
| 5 | mp.game.ui.setTextScale(1*1.25, 1); | |
| 6 | mp.game.ui.setTextColour(255, 255, 255, 255); | |
| 7 | mp.game.ui.setTextWrap(0.0, 1.0); | |
| 8 | mp.game.ui.setTextCentre(true); | |
| 9 | mp.game.ui.setTextDropshadow(2, 2, 0, 0, 0); | |
| 10 | mp.game.ui.setTextEdge(1, 0, 0, 0, 205); | |
| 11 | mp.game.ui.setTextEntry(`position: ${pos.x} ${pos.y} ${pos.z}`);
| |
| 12 | mp.game.ui.addTextComponentSubstringPlayerName(`position?: ${pos.x} ${pos.y} ${pos.z}`);
| |
| 13 | mp.game.ui.drawText(50, 50); | |
| 14 | } |