• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Library] [MySQL R41-4] IP Logger (dialogs)
#1
samp-ip-logger



[Image: sampctl-samp--ip--logger-2f2f2f.svg?style=for-the-badge]



What this library?does is basic:?every time someone connects to the server, when he disconnects, even if he doesn?t register, it saves: The username, the IP, the date and exact time he connected, and disconnected. So four fields. How can this be useful? Well, an example is: You can detect multi-accounts. (manually ofc, I can release an automated one if requested.)



Installation



Simply install to your project:



Code:
sampctl package install itsToretto/samp-ip-logger



Include in your code and begin using the library:



PHP Code:
#include <iplogger> 



Testing



To test, simply run the package:



Code:
sampctl package run



Note:?there is a command in test.pwn that you will need to display dialogs, include it or copy it to your gamemode/the library itself.



Screenshots



[Image: jXYVl7z.png]



[Image: PqdXJwM.png]?

[Image: SvUqOyl.png]?

[Image: IYxj9fZ.png]





Dependencies


  Reply
#2
AmAzInG.
  Reply


Forum Jump: