The difference between #define and const
#3

#define POSITION 100.0, 200.0, 300.0
const position= [100.0, 200.0, 300.0];

SetPlayerPos(playerid, POSITION);
SetPlayerPos(playerid, position[0], position[1], position[2]);

no test.
Reply


Messages In This Thread
The difference between #define and const - by Anuris - 29.12.2014, 23:14
Re: The difference between #define and const - by Vince - 29.12.2014, 23:30
Re: The difference between #define and const - by iLuXing - 30.12.2014, 01:55

Forum Jump:


Users browsing this thread: 1 Guest(s)