Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive
Threaded Mode
Logging ip's?
Face9000
Banned
Posts: 3,351
Threads: 780
Joined: Jan 2010
#1
02.10.2010, 12:41
Hi all,is there any way or filterscript to log in a .txt file all ip's that players have when access to server?
Find
Reply
Mauzen
High-roller
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
#2
02.10.2010, 12:49
It should be no big problem.
Just open a file with append mode in OnPlayerConnect, write the players ip into it, and close it.
append a "\r\n" at the end of every ip via format, to write every ip in a new line.
https://sampwiki.blast.hk/wiki/Fopen
https://sampwiki.blast.hk/wiki/Fwrite
https://sampwiki.blast.hk/wiki/Fclose
https://sampwiki.blast.hk/wiki/GetPlayerIp
Find
Reply
Face9000
Banned
Posts: 3,351
Threads: 780
Joined: Jan 2010
#3
02.10.2010, 13:01
Thanks!!
Gonna try
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive