Jump to content
  • Advertisement
Sign in to follow this  
houdini_pax

Help with script

This topic is 4817 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Had my script working in a old ver of lua but will not work in 5.0 -- is the player already in the list? i = 1; Line 41-- while ( i < playerCount and currPlayer ~= playerList[ i ][ "name" ] ) do i = i + 1; end if ( i <= playerCount and currPlayer == playerList[ i ][ "name" ] ) then currPIndex = i; else [ERROR]: `)' expected near `&' (41) for the life of me I can't see the problem Thanks for your help Houdini

Share this post


Link to post
Share on other sites
Advertisement
We can't help you with the current snippet. There is no ampersand (&) anywhere in your script snippet.

Share this post


Link to post
Share on other sites
Line counts show where the compiler/interpreter realized there was an error, not necessarily where the error actually is. :p

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!