how to use dini save online player in to file every time player enter or out
#2

first off, no one understood what u wrote just there.
i think what u mean to say is u want to make a log, a list of people as and when they come online / go offline.
well, thats pretty pointless, but if it helps u in any way, heres what u do....
NOTE: this is not DINI in any way, so idk why u wrote that in the title

under onplayerconnect
format a string in this manner
"%s(playername) %d(player ip) has logged in", playername, playerip
[use the log function to save it to onlineplayers.log]

and under onplayerdisconnect
"%s %d has logged off", playername, playerip
[use the log function to save it to offlineplayers.log]

NOTE: you need to define playername, playerip etc using getplayername, getplayerip functions etc.
if you have no idea whats going on, check out www.wiki.sa-mp.com 's functions list.
cheers
Reply


Messages In This Thread
how to use dini save online player in to file every time player enter or out - by Chrisli520 - 30.10.2013, 22:58
Re: how to use dini save online player in to file every time player enter or out - by RayDcosta - 31.10.2013, 07:04

Forum Jump:


Users browsing this thread: 1 Guest(s)