Matvejs Makusins

Results 23 comments of Matvejs Makusins

Same problem and same error with server.rconConnection.util.getEntityData()

Forgot, minecraft version: 1.12.2 Forge 1.12.2 Server

The problem is with /data command, that command added to minecraft in 1.13 version

Don't forget about server.rconConnection.util.getEntityData() That uses /data command too

If i set in samp-node.json log_level: 4 I got this error when called `sampNodeLib.getPlayers()` [ERROR]: [callNative] native function: GetMaxPlayers not found. And OnPlayerConnect: [ERROR]: [callNative] native function: GetPlayerName not found.

> Use > > > > ```js > > player.GetPlayerName(24); // 24 = The length of the string that should be stored (read this: https://open.mp/docs/scripting/functions/GetPlayerName) > > ``` What about...

> Use > > ```js > player.GetPlayerName(24); // 24 = The length of the string that should be stored (read this: https://open.mp/docs/scripting/functions/GetPlayerName) > ``` Same error and returns undefined.

In case if you need working and maintained types: [Link](https://github.com/matvejs16/telegram-webapps-types-new)