Log in

View Full Version : How to test a script on SMART



ragebugger
06-25-2012, 06:58 PM
How do you keep testing your script on SMART after stopping and restarting it (after changing some code)? When I drag the crosshairs to the SMART window and press play, Simba takes control of my mouse. And restarting START from scratch takes a hell of a long time.
:cartman:

Abu
06-25-2012, 07:22 PM
In your mainloop add this after begin;

Smart_Server := 16;
Smart_Members := False;
Smart_Signed := False;
Smart_SuperDetail := False;

That sixteen means SMART won't keep changing servers therefore restarting.

x[Warrior]x3500
06-25-2012, 07:23 PM
program new;
{$DEFINE SMART}
{$I SRL/SRL.simba}


begin
Smart_Server := 10;
setupsrl;

end.


dont ever need to drag crosshairs onto smart (unless you are gettin an tPoint value for coding). simply stop the script, change a few lines, make sure smart is still enabled, start script.