Connection to servers through CLEO

Статус
В этой теме нельзя размещать новые ответы.

shoval

Новичок
Автор темы
8
2
Hello.

I was trying to create the following CLEO:

1) Will get the current server address.
2) Will connect to to this address "LocalHost:7777".
3) Wil connect to the previous server after 10 seconds exactly!

Any help, please?
 

SobFoX

Новичок
16
13
How do I make it connect the same server now?


Код:
{$CLEO .cs}
{$INCLUDE SF}

//-------------MAIN---------------

thread 'test'

0662: NOP "test"

:CRASH1
wait 0
if
    SAMP.Available
else_jump @CRASH1

:CRASHACTIVE
wait 0
if
    0AB0: key_pressed 113
else_jump @CRASHACTIVE

:CRASH
wait 1000
0B39: samp get_current_server_address 20@ port 4@
wait 1000
print "Get Current Server Address" 1000
wait 1000
0B38: samp connect_to_server 20@ port 4@
print "Reconnect" 1000
jump @CRASHACTIVE
 
Статус
В этой теме нельзя размещать новые ответы.