SA-MP Forums Archive
Help with #emit - 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: Help with #emit (/showthread.php?tid=371459)



Help with #emit - _Petrol_ - 23.08.2012

How to define macro with emit like this:

Code:
#define ADD(%0,%1) #emit LOAD.S.PRI %0 #emit LOAD.S.ALT %1 #emit ADD
#define STORE(%0) #emit STOR.S %0
It doesn't work for me.