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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -