SA-MP Forums Archive
Question - 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: Question (/showthread.php?tid=577711)



Question - Darkwood17 - 13.06.2015

Hello,

Does this variable:
Код:
new Test = 1;
works same as this:
Код:
#define Test 1



Re: Question - Konstantinos - 13.06.2015

Using #define directive makes "Test" constant, that means its value cannot be changed during run-time - on the other hand, variable can.