F2::
SendChat("/members")
sleep 2000
return
F3::
rankid:=getIdByPed(getTargetPed())
if(rankid!=-1)
{
ranknick:=getPlayerNameById(rankid)
}
Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
{
Stroka := RegExMatch(A_LoopReadLine, ".*\[..:..:..\]\s" ranknick "\[" rankid "\]\s(.*)\[.*\].*")
if(Stroka==1)
NashloStroky:=A_LoopReadLine
}
RegExMatch(NashloStroky, ".*\[..:..:..\]\s" ranknick "\[" rankid "\]\s(.*)\[.*\].*", rank)
if(rank1!="")
{
addChatMessage("{a2b600}" ranknick " — " rank1 )
sleep 1000
}
Return