MOGA672002 Posted May 22, 2018 Posted May 22, 2018 function func_ircRaw (server,data) if servers[server][15] then writeLog("-> "..data) return sockWrite(servers[server][1],data.."\r\n") end table.insert(servers[server][16],data) return true end registerFunction("ircRaw","func_ircRaw","irc-server","string") this line if servers[server][15] then
TEDERIs Posted May 23, 2018 Posted May 23, 2018 Just checking a connection status to determine whether a server is connected or not. It's very bad coding standard, indeed. This is my GitHub repository where you can find a lot of my work. And this is my YouTube channel with reviews of some resources. Good luck and enjoy MTA!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now