- Documentation
- Server functions
- getAccountsByIP
Function
getAccountsByIP
Returns the accounts last used from the given IP address.
Syntax
table getAccountsByIP(string ip)Arguments
ipstring- IP address.
Returns
A table of accounts.
Example
addEventHandler("onPlayerJoin", root, function()
local n = #getAccountsByIP(getPlayerIP(source))
if n > 0 then
outputChatBox("Masz już " .. n .. " kont(a) z tego adresu.", source)
end
end)