Forum

> > CS2D > General > Because this error?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Because this error?

2 replies
To the start Previous 1 Next To the start

old Because this error?

Gaibro
User Off Offline

Quote
Someone Help Me take This error? ??Tibia




LUA ERRROR: sys/lua/cs2dtibia/monster.lua:420 attempt to index a nil value Please Help Me"

old Re: Because this error?

Gaibro
User Off Offline

Quote
Line 420 ?:
1
2
3
4
5
Line 420 :


if closest then
		closest[1]:damage(id, math.ceil(20*((PLAYERS[id].Level+50)*PLAYERS[id].tmp.atk/closest[1].def)/math.random(60, 140)), weapon)
if closest then
          closest[1]:damage(id, math.ceil(20*((PLAYERS[id].Level+50)*PLAYERS[id].tmp.atk/closest[1].def)/math.random(60, 140)), weapon)
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview