Skip to main content
gamedev.net
🔒 Locked

Help with script

Started by houdini_pax Sep 5, 2005 at 7:10 PM 1 replies 600+ views
Original Post
houdini_pax
houdini_pax
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
Maega
Maega
We can't help you with the current snippet. There is no ampersand (&) anywhere in your script snippet.
Icefox
Icefox
Line counts show where the compiler/interpreter realized there was an error, not necessarily where the error actually is. :p
-----http://alopex.liLet's Program: http://youtube.com/user/icefox192

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.