How to read server_log.txt
#1

Hi,

How to read server_log.txt ? for ex i want to retrieve some info in game like IP
Reply
#2

Open it in notepad++
Reply
#3

But i want in pawno i need function, i want read and analyze information
Reply
#4

You can use GetPlayerIP..
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)