lua - <eof> expected near 'end' -


i'm using these files in gaming server, , every time add new player model,

this error

[error] lua/autorun/server/fastdlskins.lua:938: '<eof>' expected near 'end'   1. unknown - lua/autorun/server/fastdlskins.lua:0 

i similar error when add add-on different file

img

 [error] lua/autorun/server/workshopitems.lua:55: '<eof>' expected near 'end'    1. unknown - lua/autorun/server/workshopitems.lua:0 

i have put 'end' after code, don't see else i'm required do. don't have loops running (i think), i'm not closing of out. not sure do.

as egor said, remove end @ end of files.

end used close blocks functions , loops, } in c-like languages. end @ file not closing anything, , invalid syntax.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -