[FilterScript] In-Game Forum |IGF| [UNIQUE]
#10

Good try. But there are few suggestions.

1. Don't use so many variables, instead do this:
pawn Код:
new pNew[10]; // Now you can use pNew[0], pNew[1], pNew[2].....pNew[10] Like that.
2. Short the usage of so many string variables. You can always use strcat to join with another string.
3. Indentation.
4. #if defined FILTERSCRIPT and #define FILTERSCRIPT, just remove those lines, they're unneeded.
5. Use switch statement for dialogids and listitems.
6. You don't need #pragma unused params. You can also use command like CMD:mycommand(playerid) without params parameter.

There are some more recommendations but I won't be telling them because they aren't really important if you're newbie.

But still good job.
Reply


Messages In This Thread
In-Game Forum |IGF| [UNIQUE] - by Battlezone - 25.12.2013, 12:11
Re: In-Game Forum |IGF| [UNIQUE] - by LeGGGeNNdA - 25.12.2013, 12:15
Re: In-Game Forum |IGF| [UNIQUE] - by FoxGaming - 25.12.2013, 12:17
Re: In-Game Forum |IGF| [UNIQUE] - by Cuhz - 25.12.2013, 12:27
Re: In-Game Forum |IGF| [UNIQUE] - by FailerZ - 25.12.2013, 13:08
Re: In-Game Forum |IGF| [UNIQUE] - by SilentSoul - 25.12.2013, 13:12
Re: In-Game Forum |IGF| [UNIQUE] - by Battlezone - 25.12.2013, 13:13
Re: In-Game Forum |IGF| [UNIQUE] - by XxsenchixX - 25.12.2013, 14:30
Re: In-Game Forum |IGF| [UNIQUE] - by Voxel - 25.12.2013, 17:05
Re: In-Game Forum |IGF| [UNIQUE] - by iZN - 25.12.2013, 17:24
Re: In-Game Forum |IGF| [UNIQUE] - by Battlezone - 25.12.2013, 18:54
Re: In-Game Forum |IGF| [UNIQUE] - by ervinmasic - 26.12.2013, 18:38
Re: In-Game Forum |IGF| [UNIQUE] - by Alphlax - 26.12.2013, 18:44
Re: In-Game Forum |IGF| [UNIQUE] - by FahadKing07 - 26.12.2013, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)