[FilterScript] Job Information MessageBox
#1

Job Information MessageBox

This is a Filterscript that I have created for a certain RolePlay Server, but now I have decided to release & publish it on the SAMP Forums. For all users to use. The time to create this Filterscript took me about ~3.5 hours (210 minutes), it's actually pretty simple but it took me awhile to rewrite all lines. This is my Second FilterScript release and I am also proud of it. And I can assure you that everything has been made from the scratch (No Copy & Pastes).


Featuring:
⇨ Enter a Command to Bring Menu Up (/jobhelp, /jobinfo, /jobinformation)
⇨ Menu List to Select 10 Different Information of certain Jobs
⇨ Information Based on 5 subjects (Information (Explaination), Skills, Commands, Location of Job & Important Note(s))
⇨ Transperant Grey Message Box
⇨ Texture Colorfull (Not too much)


Filterscript Download: (381 Lines Used)
Mirror 1: PasteBin
Mirror 2: MediaFire

Important Note: dudb.inc is required for the command!


Credits:
Код:
Scripting    (( Improvement™ ))

dudb include (( DracoBlue ))

Screenshots:
























Kind Regards,
Improvement™
Reply
#2

nice
Reply
#3

Nice, but :

You don't even need strtok for this script.
You don't even need DUDB for this script.
You don't need to make 'DialogShowForPlayer' as a callback ( forward( ); ), just use :
pawn Код:
stock DialogShowForPlayer( .... )
{
    // ......
}
Reply
#4

Quote:
Originally Posted by Basicz
Посмотреть сообщение
You don't even need strtok for this script.
You don't even need DUDB for this script.
This is actually true, but you probably haven't seen the OnPlayerCommandText callback.
I use this methode for comparing strings, but users can modify it to ther own methode anyways.

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new cmd[256], idx;
    cmd = strtok(cmdtext, idx);

    if(strcmp(cmd, "/jobinfo", true) == 0 || strcmp(cmd, "/jobinformation", true) == 0 || strcmp(cmd, "/jobhelp", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            DisplayDialogForPlayer(playerid, JOBINFO);
            return 1;
        }
    }
    return 1;
}
But still thank you for your feedback ^^.
Reply
#5

Good Job
Reply
#6

Nice, but where is a commands? Example code:
Код:
strcat(iDialogStr, "{FFEE00}Commands:\n");
			strcat(iDialogStr, "{ADBEE6}/fight [playerid/name], /boxstats\n\n");
but where in the script are a command /boxstats and fight?
Reply
#7

Quote:
Originally Posted by Dystans
Посмотреть сообщение
Nice, but where is a commands? Example code:
Код:
strcat(iDialogStr, "{FFEE00}Commands:\n");
			strcat(iDialogStr, "{ADBEE6}/fight [playerid/name], /boxstats\n\n");
but where in the script are a command /boxstats and fight?
Please read the text on top of the script next time .

Quote:
Originally Posted by Improvement™
Посмотреть сообщение
This is a Filterscript that I have created for a certain RolePlay Server, but now I have decided to release & publish it on the SAMP Forums. For all users to use.
Reply
#8

Nice job!
__________________
MY SERVER:
Reply
#9

Wah i didnt know that you will copy the SARP job information system here...
Reply
#10

Quote:
Originally Posted by WoodPecker
Посмотреть сообщение
Wah i didnt know that you will copy the SARP job information system here...
What are you talking about? Read the Main Post next time please..


Quote:
Originally Posted by Improvement™
Посмотреть сообщение
This is a Filterscript that I have created for a certain RolePlay Server, but now I have decided to release & publish it on the SAMP Forums. For all users to use. The time to create this Filterscript took me about ~3.5 hours (210 minutes), it's actually pretty simple but it took me awhile to rewrite all lines. This is my Second FilterScript release and I am also proud of it. And I can assure you that everything has been made from the scratch (No Copy & Pastes).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)