SA-MP Forums Archive
[FilterScript] In-Game Forum |IGF| [UNIQUE] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] In-Game Forum |IGF| [UNIQUE] (/showthread.php?tid=483330)



In-Game Forum |IGF| [UNIQUE] - Battlezone - 25.12.2013

Note: this version is outdated, please check the latest version here https://sampforum.blast.hk/showthread.php?tid=520544
INTRO:


Well the idea came to my mind suddenly, the day before yesterday, just after i released the COD:E GM.
Let me announce that it's unique.


PLEASE READ THIS BEFORE EVERYTHING:

-SA-MP doesnt allow enough ressources to make what i exactly wanted to do, but i tried to use my whole 7 months of scripting knowledge to release this thing, with 24/24 hours of work, believe me.
-If you found any bug report it immediately to me , please.


The System:
(Set the video quality to 480p)

[ame]http://www.youtube.com/watch?v=98eWFpsCCnQ[/ame]

Cmd: /forum
Tip: Use /cr1 , /cr2 , /cr3 , /cr4 , /cr5 , /cr6 to clean the chat rooms.


Credits: Me + " #include <a_samp>
#include <zcmd> "

Download link: Pastebin : http://pastebin.com/3Nt8D6Xe
Neccessary scriptfiles : http://www.solidfiles.com/d/3558370519/



Re: In-Game Forum |IGF| [UNIQUE] - LeGGGeNNdA - 25.12.2013

This is useful, +rep


Re: In-Game Forum |IGF| [UNIQUE] - FoxGaming - 25.12.2013

Very good.

-Like-


Re: In-Game Forum |IGF| [UNIQUE] - Cuhz - 25.12.2013

Nice job!


Re: In-Game Forum |IGF| [UNIQUE] - FailerZ - 25.12.2013

Cool


Re: In-Game Forum |IGF| [UNIQUE] - SilentSoul - 25.12.2013

Oh man you released it , + rep from me!

EDIT; http://pastebin.com/3Nt8D6Xe
You must add pastebin and notify the newbies that they require to download full filterscript.


Re: In-Game Forum |IGF| [UNIQUE] - Battlezone - 25.12.2013

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
Oh man you released it , + rep from me!
Thanks bro
EDIT: ok ill add it right now


Re: In-Game Forum |IGF| [UNIQUE] - XxsenchixX - 25.12.2013

Nice script !


Re: In-Game Forum |IGF| [UNIQUE] - Voxel - 25.12.2013

Nice!


Re: In-Game Forum |IGF| [UNIQUE] - iZN - 25.12.2013

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.


Re: In-Game Forum |IGF| [UNIQUE] - Battlezone - 25.12.2013

Thanks, ill take care of that next time


Re: In-Game Forum |IGF| [UNIQUE] - ervinmasic - 26.12.2013

For me dont work in dialog "News" (dont show me news updates) im it translate to Bosnian can anyone look my dialogs ?
news-novosti(bosnian language)
edit-uredi(bosnian language)





Code:
if(dialogid == 557)
        {
        if(!response)
		{
		new String[200];
		format(String, sizeof(String),"{FF0000}Server {0276FF}[Pregledi:%d]\n{EB7608}----------***----------\n{FF0000}Korisnici {0276FF}[Pregledi:%d]\n{EB7608}----------***----------\n{FF0000}Off Topic {0276FF}[Pregledi:%d]",main1readings, main2readings, main4readings);
	ShowPlayerDialog(playerid, 556, DIALOG_STYLE_LIST, "In-Game forum",String,"Select","Exit");
		}
		if(response)
		{
            switch(listitem)
            {
                case 0:
                {
                if(IsPlayerAdmin(playerid))
				{
				new String[100];
    			format(String, sizeof(String),"{FF0000}Novosti {0276FF}\nUredi novosti [ONLY ADMINS]");
				ShowPlayerDialog(playerid, 890, DIALOG_STYLE_LIST, "In-Game forum : Server - Novosti",String,"Select","Back");
				}
				else
				{
				new String[100];
				format(String, sizeof(String),"{FF0000}News");
				ShowPlayerDialog(playerid, 891, DIALOG_STYLE_LIST, "In-Game forum : Server - Novosti",String,"Select","Back");
				}
                server1readings ++;
                return 1;
                }
                case 1:
				{
                server2readings ++;
                ShowPlayerDialog(playerid, 250, DIALOG_STYLE_INPUT, "In-Game Forum : Server - Apply za Community Tag", "Upisi svoje puno ime, godine i odakle ste.", "Submit", "Cancel");
				return 1;
                }
				case 2:
				{
				ShowPlayerDialog(playerid, 250, DIALOG_STYLE_INPUT, "In-Game Forum : Server - Apply za Admina", "Upisi svoje puno ime, godine i odakle ste.", "Submit", "Cancel");
				server3readings ++;
                return 1;
                }
			}
  }
         return 1;
         }



Re: In-Game Forum |IGF| [UNIQUE] - Alphlax - 26.12.2013

Sweet system


Re: In-Game Forum |IGF| [UNIQUE] - FahadKing07 - 26.12.2013

Oh man, you saved my time. I was thinking of making it for my Coming Server.
By the way Great Script

+REP