#define or native?
#1

How is better?
PHP Code:
#define SCM SendClientMessage 
or
PHP Code:
native SCM(playeridcolor, const message[]); 
Reply
#2

Not sure of the second option but for me
pawn Code:
#define SCM SendClientMessage
Reply
#3

pawn Code:
#define SCM SendClientMessage
or
pawn Code:
native SCM( playerid, color, const message[ ] ) = SendClientMessage;
Both of these solutions work.
Reply
#4

Quote:
Originally Posted by DaRk_RaiN
View Post
Not sure of the second option but for me
pawn Code:
#define SCM SendClientMessage
I see this on a gamemode and this work
Reply
#5

I think that they're both the same. That could be a solution for include functions like solving commented natives for functions.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)