Jump to content

TypeError: Cannot read property 'ui' of undefined


Recommended Posts

Hello, community
Can u help me solve problem with

mp.game.ui.setNotificationMessage('CHAR_ACTING_UP', 'CHAR_ACTING_UP', false, 1, 'AdminTools', 'Vehicle created');

Output in console: TypeError: Cannot read property 'ui' of undefined


P.S. i have more err's in console, like:

Error: Error: Cannot find module './packages/node_modules'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at getDirectories.forEach.src (<anonymous>:827:341)
    at Array.forEach (<anonymous>)
    at _initialize (<anonymous>:827:272)
    at <anonymous>:833:1

Can u help me solve them?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...