What of this methods is faster?
#8

if you use some variables which you don't want to remember it always then use define.
usually I use define for dialogs ids, like
pawn Код:
#define DIALOG_HELP 12
this way better, if you want to declar CONST numbers like п = 3.14... then better use const.
if you have a lot messages or other text then use
pawn Код:
new AlotText[][2] =
{
{"Text first"},{"Text second"}
};
you can use that like this
pawn Код:
format(string,256,"( ! ) first TXT:%s second: %s",AlotText[0],AlotText[1]);
Reply


Messages In This Thread
What of this methods is more efficient and effective? - by JavoDiaz - 26.12.2012, 08:09
Re: What of this methods is faster? - by Ballu Miaa - 26.12.2012, 08:27
Re: What of this methods is faster? - by Mafioso97 - 26.12.2012, 08:28
Re: What of this methods is faster? - by Lordzy - 26.12.2012, 08:35
Re: What of this methods is faster? - by JavoDiaz - 26.12.2012, 08:37
Re: What of this methods is faster? - by Mafioso97 - 26.12.2012, 08:40
Re: What of this methods is faster? - by JavoDiaz - 26.12.2012, 09:14
Re: What of this methods is faster? - by mineralo - 26.12.2012, 09:23
Re: What of this methods is faster? - by Vince - 26.12.2012, 12:26
Re: What of this methods is faster? - by JavoDiaz - 26.12.2012, 17:15

Forum Jump:


Users browsing this thread: 2 Guest(s)