a little Dialog Commandlist -
Dutchmen0031 - 20.01.2011
hi, the name say it dialog Commandlist
this is my first filterscript
pictures:
Commands
Use /commands for the command list
Afk
Back
Kill
Help
Admins
Switchclass
Website
Rules
Music
Ciggy
Handsup
Cell on
Cell off
Piss
Beer
Wine
Sprunk
Dance 1
Dance 2
Dance 3
Dance 4
it's not mutch but i dont know more Commands
Download and open the filterscript and change by Help, Admins, And website, and Rules your own Help Admins And Website And Rules
Download:
PWN
AMX
PASTEBIN
ps; if you found a spelling fail sorry but i cant good english
Greetz Dutchmen0031
Re: a little Dialog Commandlist -
Georgelopez1 - 20.01.2011
Good job
Respuesta: a little Dialog Commandlist -
Lucino_Rever - 20.01.2011
Great job
Re: a little Dialog Commandlist -
Hal - 20.01.2011
You should remove OnGameModeInit and OnGameModeExit
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/commands", true)==0)
ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Commands","nHere a list with commmands\nAFK\nBack (from afk)\nkill (myself)\nhelp\nAdmins\nSwitchclass\nWebsite\nmusic", "Select", "Close");
}
That wont compile. You will need brackets ect.
Re: a little Dialog Commandlist - [L3th4l] - 20.01.2011
Quote:
Originally Posted by Hal
You should remove OnGameModeInit and OnGameModeExit
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/commands", true)==0) ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Commands","nHere a list with commmands\nAFK\nBack (from afk)\nkill (myself)\nhelp\nAdmins\nSwitchclass\nWebsite\nmusic", "Select", "Close"); }
That wont compile. You will need brackets ect.
|
Try before you post, maybe? It does compile, and yes, remove OGMI and OGME
Re: a little Dialog Commandlist -
sherlock - 20.01.2011
Quote:
Originally Posted by Hal
You should remove OnGameModeInit and OnGameModeExit
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/commands", true)==0) ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Commands","nHere a list with commmands\nAFK\nBack (from afk)\nkill (myself)\nhelp\nAdmins\nSwitchclass\nWebsite\nmusic", "Select", "Close"); }
That wont compile. You will need brackets ect.
|
ok so when he fixes it...is it customizable like can i change the command to somthing like /rules and put rules there instead?
Re: a little Dialog Commandlist -
Hal - 20.01.2011
Quote:
Originally Posted by sherlock
ok so when he fixes it...is it customizable like can i change the command to somthing like /rules and put rules there instead?
|
Well its just list items, so like a command you would put your code inside of it. You can change all the text easily enough.
@Lethal Was working on it, but couldn't find dudb(blah).
But its simple enough to teach someone how to use a dialog
Re: a little Dialog Commandlist -
Dutchmen0031 - 21.01.2011

tanks all i have delete OnGameModeInit and OnGameModeExit
ps: if you know more commands say it and i make more commands.
Re: a little Dialog Commandlist -
sherlock - 21.01.2011
idk how to change it XD can you pm me or add a simple one using that box thing but with /rules and "put rule 1 here" so all i have to do is type rules in?? or i will try and post errors
if i use the dudb include i looked at it and its some sort of account system. If i add this to includes will it affect the register system i already have

?
Re: a little Dialog Commandlist -
[HUN]Poldzsiii - 06.04.2011
Quote:
Originally Posted by Hal
You should remove OnGameModeInit and OnGameModeExit
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/commands", true)==0) ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Commands","nHere a list with commmands\nAFK\nBack (from afk)\nkill (myself)\nhelp\nAdmins\nSwitchclass\nWebsite\nmusic", "Select", "Close"); }
That wont compile. You will need brackets ect.
|
Use ZCMD:
pawn Code:
CMD:commands(playerid,params[])
{
ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Commands","nHere a list with commmands\nAFK\nBack(from afk)\nkill (myself)\nhelp\nAdmins\nSwitchclass\nWebsite\nmusic", "Select", "Close");
return 1;
}