Log in

View Full Version : Reuse Client



gaetano
12-21-2011, 09:08 PM
I want to use my script that I made, but it is impossible to pause and then run it without it opening up another Smart Client

What is the code so I can Stop the script with the client already open, and then pressing play to re use the smart client that is already open?

Yago
12-21-2011, 09:13 PM
Change the SMART_World from 0 to another number such as 10.

YoHoJo
12-21-2011, 09:15 PM
Yes. It is.
Not 100% sure but.
Include smart like this:
{$DEFINE SMART}
and BEFORE setupsrl put
Smart_Server:=35;
(Any world number, doesn't matter, smart always loads 'best' world for you based on ping)
That should do it.

gaetano
12-21-2011, 09:40 PM
Thanks guys!

gaetano
12-21-2011, 10:04 PM
Still doesn't Work

{$DEFINE SMART}
{$i SRL\SRL.scar}


This is what I have

Shuttleu
12-21-2011, 10:06 PM
Still doesn't Work

{$DEFINE SMART}
{$i SRL\SRL.scar}


This is what I have

put

Smart_Server:=35;

on the line above "SetupSRL;" (search the script for it)

~shut

gaetano
12-21-2011, 10:11 PM
Thanks a lot