Forum

> > CS2D > Scripts > LUA Question - attempt to index field
Forums overviewCS2D overview Scripts overviewLog in to reply

English LUA Question - attempt to index field

20 replies
Page
To the start Previous 1 2 Next To the start

old Re: LUA Question - attempt to index field

Lee
Moderator Off Offline

Quote
user Marcell has written
I tested with this lua but when i write into chat !jetpack
the console show this:
LUA ERROR: sys/lua/jet_pack.lua:6: attempt to perform arithmetic on global 'id' (a nil value)


oh right,

1
player_imgs[p] = image("gfx/jetpack/jetpack.bmp",1,1,200+p)
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview