Jump to content

Silly Mistake


MetaGamer

Recommended Posts

I made a silly mistake on this code. Can anyone figure it out?

  
local newZ = getElementData ( attacker, "Zombie kills" ) 
outputChatBox( "Total Zombies killed: " .. (string)  newZ) 
  

The error is:

  
[2011-10-30 01:41:46] SCRIPT ERROR: zombies\zombie_server.lua:339: ')' expected near 'newZ' 
[2011-10-30 01:41:46] WARNING: Loading script failed: zombies\zombie_server.lua:339: ')' expected near 'newZ' 
  

Thanks in advance!

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