addEventHandler('onClientPlayerJoin', root,
function()
outputChatBox('#0075eb[RHD] ' .. getPlayerName(source) .. ' has joined the server from' " .. array.city .. ", " .. array.country .. " (" .. getNormalCountryName(kraje[array.country]) .. "), 255,255,255)
end
)
addEventHandler('onClientPlayerChangeNick', root,
function(oldNick, newNick)
outputChatBox('#0075eb[RHD] ' .. oldNick .. ' is now known as ' .. newNick, 0,191,255)
end
)
addEventHandler('onClientPlayerQuit', root,
function(reason)
outputChatBox('#0075eb[RHD] ' .. getPlayerName(source) .. ' has left the game [' .. reason .. ']', 255,255,255)
end
)
How to create:When player join,saying from what country?
And 2-nd question:
How create AFK-kicker without getPlayerIdle?