Jump to content

help/dayz- attempt to index global "gameplayvariables"


bundiiE

Recommended Posts

So, i have done nothing today with survivorsystem.lua.

And then it shows up a error, which cause to survivorsystem.lua doesnt work.

ERROR:[dayz-mta]/dayz/survivorsystem.lua:608:attempt to index global "gameplayvariables"

ERROR:[dayz-mta]/dayz/survivorsystem.lua:630:attempt to index global "gameplayvariables"

ERROR:[dayz-mta]/dayz/survivorsystem.lua:621:attempt to index global "gameplayvariables"

I looked up at these lines and in the 608 line it shows > value = gameplayVariables.temperaturewater

In the 630 > value = gameplayVariables.loseThirst

and in the 621 > value = gameplayVariables.loseHunger

How can i fix it?

ERROR is in these lines, but it seems to be everything okay with these lines, but it shows me some kind of errors..

Please help me to fix:) !

Link to comment

yup, but gameplayVariables are still same gameplayVariables, checked all of them,there is not a single mistake on the letter or something other..

anyway, i fixed it.. I recently added more spawnpoints in editor_server and then this problem arrived...

Link to comment

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...