waqmaz
Member
- Joined
- Jun 17, 2015
- Messages
- 203
- Reaction score
- 11
Is there any way to logout a player when he clicks exit?
I have tried to check the player's IP onLogin and onLogout like:
but the IP after clicking "exit" doesn't change to zero, so I cannot check if a player has IP zero, then logout him.
Is it possible without C++?
There is not also anything like "logout on exit" in config.lua.
Thanks.
I have tried to check the player's IP onLogin and onLogout like:
Code:
print('getPlayerIp(cid): '..getPlayerIp(cid))
Is it possible without C++?
There is not also anything like "logout on exit" in config.lua.
Thanks.