SA-MP Forums Archive
So hold on!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: So hold on!! (/showthread.php?tid=606417)



So hold on!! - Micko123 - 04.05.2016

This is better
Код:
new tmp1, tmp2, tmp3, tmp4, tmp5;
than this
Код:
    new tmp1;
    new tmp2;
    new tmp3;
    new tmp4;
    new tmp5;
Is this true. If it is i am going to change my script immidiatly


Re: So hold on!! - ]Rafaellos[ - 04.05.2016

It's the same thing but slightly faster. It's not wrong at any way but yea first one is "better".


Re: So hold on!! - Micko123 - 04.05.2016

That is all i wanted to hear Thank you


Re: So hold on!! - introzen - 04.05.2016

If you still want your indentation you can use:
PHP код:
new tmp1,
    
tmp2,
    
tmp3,
    
tmp4