SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 20/01/2011, 02:54 PM   #1
Dutchmen0031
Big Clucker
 
Dutchmen0031's Avatar
 
Join Date: Nov 2010
Location: The Netherlands
Posts: 120
Reputation: 0
Default a little Dialog Commandlist

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

Last edited by Dutchmen0031; 12/02/2011 at 03:01 PM.
Dutchmen0031 is offline   Reply With Quote
Old 20/01/2011, 10:09 PM   #2
Georgelopez1
Huge Clucker
 
Georgelopez1's Avatar
 
Join Date: Sep 2010
Posts: 215
Reputation: 0
Default Re: a little Dialog Commandlist

Good job
__________________
Hi, I'm George.
Georgelopez1 is offline   Reply With Quote
Old 20/01/2011, 10:18 PM   #3
Lucino_Rever
Little Clucker
 
Join Date: Oct 2010
Posts: 9
Reputation: 0
Default Respuesta: a little Dialog Commandlist

Great job
Lucino_Rever is offline   Reply With Quote
Old 20/01/2011, 10:32 PM   #4
Hal
High-roller
 
Hal's Avatar
 
Join Date: May 2010
Location: Toronto, Canada
Posts: 1,218
Reputation: 43
Default Re: a little Dialog Commandlist

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.
__________________

Wanna start a project thats NOT sa-mp with me? I have a bunch of server space, PM me.
Hal is offline   Reply With Quote
Old 20/01/2011, 10:39 PM   #5
[L3th4l]
Guest
 
Posts: n/a
Default Re: a little Dialog Commandlist

Quote:
Originally Posted by Hal View Post
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
  Reply With Quote
Old 20/01/2011, 10:39 PM   #6
sherlock
High-roller
 
sherlock's Avatar
 
Join Date: Aug 2010
Location: United Kingdom
Posts: 1,045
Reputation: 60
Default Re: a little Dialog Commandlist

Quote:
Originally Posted by Hal View Post
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?
__________________


sherlock is offline   Reply With Quote
Old 20/01/2011, 10:47 PM   #7
Hal
High-roller
 
Hal's Avatar
 
Join Date: May 2010
Location: Toronto, Canada
Posts: 1,218
Reputation: 43
Default Re: a little Dialog Commandlist

Quote:
Originally Posted by sherlock View Post
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
__________________

Wanna start a project thats NOT sa-mp with me? I have a bunch of server space, PM me.
Hal is offline   Reply With Quote
Old 21/01/2011, 02:56 PM   #8
Dutchmen0031
Big Clucker
 
Dutchmen0031's Avatar
 
Join Date: Nov 2010
Location: The Netherlands
Posts: 120
Reputation: 0
Default Re: a little Dialog Commandlist

tanks all i have delete OnGameModeInit and OnGameModeExit

ps: if you know more commands say it and i make more commands.
Dutchmen0031 is offline   Reply With Quote
Old 21/01/2011, 05:01 PM   #9
sherlock
High-roller
 
sherlock's Avatar
 
Join Date: Aug 2010
Location: United Kingdom
Posts: 1,045
Reputation: 60
Default Re: a little Dialog Commandlist

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?
__________________


sherlock is offline   Reply With Quote
Old 24/01/2011, 02:21 PM   #10
Dutchmen0031
Big Clucker
 
Dutchmen0031's Avatar
 
Join Date: Nov 2010
Location: The Netherlands
Posts: 120
Reputation: 0
Default Re: a little Dialog Commandlist

i have rules added and some annims
Dutchmen0031 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dialog returns to the first dialog in secs. THE_KNOWN Help Archive 0 17/01/2011 04:07 PM
Dialog returns to the first dialog in secs. THE_KNOWN Help Archive 6 15/01/2011 05:34 PM
SetPlayerTeamFromClass(playerid, classid); from dialog with dialog Haydz Help Archive 6 28/11/2010 10:21 AM
Dialog keller012 Help Archive 5 21/07/2010 07:19 PM


All times are GMT. The time now is 09:46 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.