Sign in to follow this  
Followers 0
Wraith

undefined is not a field object

9 posts in this topic

******* script runtime error *******

undefined is not a field object: (file 'plugins/_shop.gsc', line 191)

 self.points.glowColor = level.random.colour;

                               *

Error: called from:

(file 'plugins/_shop.gsc', line 30)

  player thread shop();

                *

Error: started from:

(file 'plugins/_shop.gsc', line 28)

  level waittill("connected", player);

        *

Error: ************************************

********************

ERROR: script runtime error

(see console for details)

undefined is not a field object

********************

----- Server Shutdown -----

 

need help with this error

0

Share this post


Link to post
Share on other sites

not clear or defined as a field object: self.points.glowColor = level.random.colour;

0

Share this post


Link to post
Share on other sites

 ah forget it i'll completely remove level.random.colour and replace it with float values

which doesnt work  :rage:

0

Share this post


Link to post
Share on other sites

k there a tut somewhere out there that tells you how to add colours to hud

0

Share this post


Link to post
Share on other sites

Maybe if you attach a log and give the lines in your .gsc where the errors are accruing people could help. 

0

Share this post


Link to post
Share on other sites

it's already telling us the error and from what line, just read above. he needs to tell cod4 what level.random.colour is.

0

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  
Followers 0