PDA

View Full Version : #define or native?


radiobizza
09/05/2013, 07:43 AM
How is better?

#define SCM SendClientMessage

or

native SCM(playerid, color, const message[]);

DaRk_RaiN
09/05/2013, 07:49 AM
Not sure of the second option but for me

#define SCM SendClientMessage

Neavorce
09/05/2013, 07:53 AM
#define SCM SendClientMessage

or

native SCM( playerid, color, const message[ ] ) = SendClientMessage;


Both of these solutions work.

radiobizza
09/05/2013, 07:58 AM
Not sure of the second option but for me

#define SCM SendClientMessage


I see this on a gamemode and this work

TheArcher
09/05/2013, 09:50 AM
I think that they're both the same. That could be a solution for include functions like solving commented natives for functions.