Forum

> > CS2D > Scripts > unkown command 'amxdir'
Forums overviewCS2D overview Scripts overviewLog in to reply

English unkown command 'amxdir'

4 replies
To the start Previous 1 Next To the start

old Re: unkown command 'amxdir'

J4x
User Off Offline

Quote
Replace this
1
amxdir = "sys/lua/amx2d" dofile (amxdir.. "/ main.lua) main (amxdir)

with
1
dofile("sys/lua/amx2d.lua")

old Re: unkown command 'amxdir'

Cure Pikachu
User Off Offline

Quote
You are not supposed to copy that code to your server.cfg

Copy this exact code to your server.lua (In your sys/lua folder)
1
2
3
amxdir = "sys/lua/amx2d"
dofile (amxdir.. "/ main.lua)
main (amxdir)
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview