$~NumpadEnter::
$~Enter::
if (isInChat() = 1 && isDialogOpen() == 0)
{
Sleep 250
dwAddress := dwSAMP + 0x12D8F8
chatInput := readString(hGTA, dwAddress, 256)
if (RegExMatch(chatInput,"/idds (%d+)",id)
{
:?:/idds::
SendInput, /idds{space}
Input, id, V, {enter}
Sleep 250 ;
NonRPNick := getPlayerNameById(id)
RPplayerNick := RegExReplace(getPlayerNameById(id), "_", " ")
RegExMatch(id,"(\w+)_(\w+)", out)
addChatMessage("ID: "id )
addChatMessage("RP Nick: "RPplayerNick)
addChatMessage("Имя: "out1 )
addChatMessage("Фамилия: "out2 )
Return
}
}