Job Information MessageBox -
Improvement™ - 16.08.2011
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:
Screenshots:
Kind Regards,
Improvement™
Re: Job Information MessageBox -
Kaperstone - 16.08.2011
nice
Re: Job Information MessageBox -
Basicz - 16.08.2011
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( .... )
{
// ......
}
Re: Job Information MessageBox -
Improvement™ - 16.08.2011
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 ^^.
Re : Job Information MessageBox -
Soumi - 16.08.2011
Good Job
Re: Job Information MessageBox -
Dystans - 16.08.2011
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?
Re: Job Information MessageBox -
Improvement™ - 16.08.2011
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.
|
Re: Job Information MessageBox -
[M.A]Angel[M.A] - 16.08.2011
Nice job!
__________________
MY SERVER:
Re: Job Information MessageBox -
WoodPecker - 16.08.2011
Wah i didnt know that you will copy the SARP job information system here...
Re: Job Information MessageBox -
Improvement™ - 16.08.2011
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).
|