I'm a beginner at defines.
#4

Fixed it myself :P
pawn Код:
#define SendFormattedMessage(%0,%1,%2,%3) \
new text[128]; \
format(text,sizeof(text),%2,%3); \
SendClientMessage(%0,%1,text)

stock pName(playerid) {
    new name[30];
    GetPlayerName(playerid,name,sizeof(name));
    return name;
}
Reply


Messages In This Thread
I'm a beginner at defines. - by Seven_of_Nine - 22.05.2011, 15:06
Re: I'm a beginner at defines. - by Cjgogo - 22.05.2011, 15:21
Re: I'm a beginner at defines. - by Seven_of_Nine - 22.05.2011, 15:27
Re: I'm a beginner at defines. - by Seven_of_Nine - 22.05.2011, 15:30
Re: I'm a beginner at defines. - by Jay. - 22.05.2011, 15:39
Re: I'm a beginner at defines. - by davve95 - 22.05.2011, 15:58
Re: I'm a beginner at defines. - by Seven_of_Nine - 22.05.2011, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)