[Tutorial] Good things for beginners (EASY THINGS)
#3

Yeah, some things are not explained at all.
pawn Code:
#define SCM   SendClientMessage // You can use now SCM instead of SendClientMessage
#define SPD   ShowPlayerDialog // You can use SPD now instead of ShowPlayerDialog
I know it's for beginners but you should explain what are you doing here. What define means and how it replaces the text.

Same goes for multi dimensional arrays. It took me some times to fully understand how they works.
"What we do there ? We created a 2 Dimensional string instead of "new String[128], String2[128];" Okay. We have an array but how to use it?

Code:
new gString[256];
format(gString, sizeof(gString), "You have spawned !");
return 1;
That is a bad example. Also 256-strings. Nope.
Reply


Messages In This Thread
Good things for beginners (EASY THINGS) - by Mariciuc223 - 01.08.2015, 08:06
Re: Good things for beginners (EASY THINGS) - by Vince - 01.08.2015, 10:29
Re: Good things for beginners (EASY THINGS) - by dominik523 - 01.08.2015, 12:08
AW: Good things for beginners (EASY THINGS) - by Kaliber - 01.08.2015, 12:28

Forum Jump:


Users browsing this thread: 2 Guest(s)