Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doSendNuiMessage error #51

Closed
papabendi opened this issue Aug 16, 2019 · 3 comments
Closed

doSendNuiMessage error #51

papabendi opened this issue Aug 16, 2019 · 3 comments

Comments

@papabendi
Copy link

Used to use tokovoip perfectly fine, but now it doesn't seem to start correctly with thes server. When I do a manual start or restart of the script I get this:

SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:878: No such export doSendNuiMessage in resource tokovoip_script

handler (@tokovoip_script/c_config.lua:55)

I cannot seem to figure out what is causing it...

@bathorus
Copy link

Hi, I got the same error, @papabendi did you find the solution? Would you mind to share it here? Thank you in advance! :)

@bathorus
Copy link

I found the solution, so don't ever change the folder name from tokovoip_script to anything because it contains javascript. Keep it that way, the folder name. Hope it helps.

@papabendi
Copy link
Author

You can rename it, but you have to go through the script and change a couple of things. Recommended not to do this though. My issue was a lot simpler, we had two versions of it running. Somehow we duplicated the folder and it was interfering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants