- Joined
- Jun 19, 2009
- Messages
- 1,852
- Reaction score
- 5
Hello!
Is it possible to make a Login script that only allows people with a certain IP to login on a GM char? :O
example:
if a person logs in on a gm char without a registered IP, he gets kicked (return false or doRemovePlayer(cid))
tell me if u didn't understand my request =p
Is it possible to make a Login script that only allows people with a certain IP to login on a GM char? :O
example:
Code:
local t = {
--[ip] = access
[<ip>] = 4,
[<ip>] = 5,
}
function onLogin(cid)
<code here>
if a person logs in on a gm char without a registered IP, he gets kicked (return false or doRemovePlayer(cid))
tell me if u didn't understand my request =p