Чист!Добавлено (05.11.2014, 19:33)
---------------------------------------------
Код
{$CLEO}
{$Include includes\RakNetDefines.txt}
0000:
// GetSampBase
if not 0@ = SAMP.Base()
then 0A93: end_custom_thread
end
while not SAMP.Available()
wait 100
end
if
8AAB: file_exists "CLEO\INI\CrimeAutoLogIn.ini"
then
0AD3: 20@v = format "Âàø ïàðîëü"
0AF5: write_string 20@v to_ini_file "Cleo\INI\CrimeAutoLogIn.ini" section "Settings" key "Password"
0AD3: 21@v = format "Âàø íèê"
0AF5: write_string 21@v to_ini_file "Cleo\INI\CrimeAutoLogIn.ini" section "Settings" key "Name"
end
while true
wait 0
alloc 1@ 64
0B39: samp get_current_server_address 1@ port 2@
if 0C14: strcmp string1 1@ string2 "176.32.37.83"
then
if Samp.IsDialogActive(5)
then
alloc 3@ 30
2@ = Samp.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
3@ = Samp.GetPlayerNickname(2@)
0AF4: 1@ = read_string_from_ini_file to_ini_file "cleo\INI\CrimeAutoLogIn.ini" section "Settings" key "Name"
if 0C14: strcmp string1 3@ string2 1@
then
0AF4: 1@ = read_string_from_ini_file to_ini_file "cleo\INI\CrimeAutoLogIn.ini" section "Settings" key "Password"
0B4B: samp set_current_dialog_editbox_text 1@
wait 100
0B47: samp close_current_dialog_with_button 1
end
0ac9: 3@
end
end
0ac9: 1@
end