I can't be admin on it.
1. I downloaded [474] - Happy Town lua.
2. Unzipped and added to sys/lua/.
3. Opened server.lua, then cleared it after i added
dofile("sys/lua/474lua-edit.lua")
4. I open admin.txt and add to first line admin 16270
5. I open cs2d>new game>start. Log shows.
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
[14:39:11] ----- Server started ----- [14:39:11] Lua: Adding function 'a' to hook 'join' [14:39:11] Lua: Adding function 'b' to hook 'say' [14:39:11] Lua: Adding function 'c' to hook 'serveraction' [14:39:11] Lua: Adding function 'd' to hook 'menu' [14:39:11] Lua: Adding function 'e' to hook 'clientdata' [14:39:11] Lua: Adding function 'f' to hook 'hit' [14:39:11] Lua: Adding function 'g' to hook 'leave' [14:39:11] Lua: Adding function 'i' to hook 'objectdamage' [14:39:11] Lua: Adding function 'attack_hook' to hook 'attack' [14:39:11] Lua: Adding function 'leave_hook' to hook 'leave'
1
[14:39:14] You do not have enough level to do this!
README OF THE LUA SCRIPT
edited 2×, last 21.08.12 02:03:49 pm