1
2
3
2
3
if hc.SERVERNAME ..id == nil then hc.SERVERNAME ..id = '(Empty | ' end
Results in
1
2
3
2
3
LUA ERROR: sys/lua/server.lua:23: '=' expected near '..' -> [C]: in function 'dofile' -> [string "dofile("sys/lua/server.lua")"]:1: in main chunk
I know I'm doing it wrong but I just tried for like the past 10 minutes and I have no clue what to do
I would like to add there is no hc.SERVERNAME[id] since this is in a loop and I want to find 9 hc.SERVERNAME like that:
hc.SERVERNAME1
hc.SERVERNAME2
hc.SERVERNAME3
etc..
Pliz help me
oh my cat say hi