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
Threaded Mode
How to read server_log.txt
NightMrOver
Banned
Posts: 8
Threads: 3
Joined: Jul 2018
#1
22.07.2018, 10:42
Hi,
How to read server_log.txt ? for ex i want to retrieve some info in game like IP
Find
Reply
Jing_Chan
Banned
Posts: 233
Threads: 82
Joined: Jan 2011
#2
22.07.2018, 10:50
Open it in notepad++
Find
Reply
NightMrOver
Banned
Posts: 8
Threads: 3
Joined: Jul 2018
#3
22.07.2018, 10:58
But i want in pawno i need function, i want read and analyze information
Find
Reply
Verc
Banned
Posts: 171
Threads: 5
Joined: Apr 2018
#4
22.07.2018, 11:27
You can use GetPlayerIP..
Find
Reply
NaS
High-roller
Posts: 1,801
Threads: 21
Joined: Mar 2008
Reputation:
0
#5
22.07.2018, 12:46
You need a File I/O Plugin that can access the root directory of the server (where the server_log.txt is).
I can recommend this one:
https://sampforum.blast.hk/showthread.php?tid=92246
Then you basically just have to open the file and read it.
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