Dialogs
#1

Guys Please tell me how to make a Dialog Script for my server
The Command will be /credits! =D

Thanks Guys!
Reply
#2

pawn Код:
ShowPlayerDialog(playerid, DIALOG_IDZOR, DIALOG_STYLE_MSGBOX, "This is the title", "You can put credits here. To create a new line, just put\nNow, we are on a new line. You can create multiple lines by doing\n\n\nThat would create 3 lines. To TAB, you can use\tOur text is tabbed.\n\n\nCredits:RockandRol123[PH]", "Close", "");
Reply
#3

Give me the whole with if(strcmp("/credits")...............

Please?
Reply
#4

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/credits"cmdtexttrue10) == 0)
    {
        
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX"This is the title""You can put credits here. To create a new line, just put\nNow, we are on a new line. You can create multiple lines by doing\n\n\nThat would create 3 lines. To TAB, you can use\tOur text is tabbed.\n\n\nCredits:RockandRol123[PH]""Close""");
        return 
1;
    }
    return 
0;

Reply
#5

PHP код:
if(strcmp(cmd,"/credits"true) == 0)
{
    
ShowPlayerDialog(playerid550DIALOG_STYLE_MSGBOX,"Credits","Credits goes to: RockandRol123 [PH]","Ok","");
    return 
1;

EDIT: too late
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)