SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed. InvokeNative: execution failed: Argument at index 1 was null

What are you trying to do, when do the error occur?
It comes with some error in relation to rcon-log.

1 Like

and what do I have to do then I am not an expert programmer I am a self-taught person

Me too, self learning is hard but worth it.
Any way if you could answer me what triggers the error i could maybe help you.

just when i log in

Send me the rconlog_server.lua file and i wil check

oh you got it

rconlog_server.lua (2.3 KB)

Ok so it looks like the resource rcon-log is trying to send a client event, but somehow GetHostId() dont work, could you try to make a backup of the existing and rewrite it to this.

I would like to see what value GetHostId() outputs and also if it works making it to a number.

If this don’t work try to replace my temporary variable “idunno” with source

I already have a backup can you pass me the file.

I do not know how to thank you for the help you are giving me if I could help you with something, do not hesitate to ask me, although I doubt that you can solve your doubts since I see you more fit than I hahaha.

1 Like

rconlog_server.lua (2.6 KB)
It should be the right file

the error persists

will i need the rcon client?

I have observed something before the tre logo did not come out now it came out under my logo when changing this file

my system folder may have outdated resources?

I managed to remove the error from the console by modifying the ■■■■■■■ files but the date still does not show me correctly the year goes wrong
■■■■■■■.rar (1.4 KB)

Solved fix console

1 Like

Nice well done :grinning:

I suppose you are running your server on a VPS, make sure the date on the VPS is right.
The way the date is showed is via a SendNUIMessage from client.lua in the threw_hud_ui
The function takes the machines date and converts it to whatever format is chosen in the config.

It is on my personal pc and the date is correct in 2020 and in the game it marks 2013

Sounds weird beacuse the standard value is something like 31th February 2020

But i really dont know maybe ask at another topic, so this thread remains focused on the topic :grinning:

now it doesn’t show my job just jobname
does not recognize my money etc.

can you pass me your full ■■■■■■■ if I have my problem at once

I do not understand this?

I have the same problem when I eat something from the inventory. Which client lua or server lua do I have to change?

resolveu meu problema…