Dialogue Help
#8

Quote:
Originally Posted by [XST]O_x
Посмотреть сообщение
Something like:
pawn Код:
new string[64],string2[100],string3[165];
format(string,sizeof(string),"List of teleports", "Stunt Teleports:  /home /ss /df /dj /2c /bowl /fd1 /fd2 /hj /hp /lstower /lvairport /pj /skatepark /stadium /tp /tp1 /wallride /waytodeath /deadjump /monstercrash\n");
format(string2,sizeof(string2),"\nDeathmatches: /CNR /omaha /pirate /CSS /Gangwars /Jetpackdm /csdm /Sniperdm /lcdm /area51 /indoordm /MGM /OH /glassmadness /RCWAR /Shipmadness\n\nRacing and Drifting: /drag2 /drag /karting /karting2 /8track /canalrace /circuit /driftcity /hwydrag /beachcity /skrace /usr /dirt /drift");
format(string3,sizeof(string3),"%s %s",string,string2);
ShowPlayerDialog(playerid,2,style,string3....);
Not sure,but am I assuming right?
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/test", true))
    {
        new string[64],string2[100], masterstring[165], string3[128];
        format(string,sizeof(string),"List of teleports", "Stunt Teleports:  /home /ss /df /dj /2c /bowl /fd1 /fd2 /hj /hp /lstower /lvairport /pj /skatepark /stadium /tp /tp1 /wallride /waytodeath /deadjump /monstercrash\n");
        format(string2,sizeof(string2),"\nDeathmatches: /CNR /omaha /pirate /CSS /Gangwars /Jetpackdm /csdm /Sniperdm /lcdm /area51 /indoordm /MGM /OH /glassmadness /RCWAR /Shipmadness\n");
        format(string3,sizeof(string3),"\nRacing and Drifting: /drag2 /drag /karting /karting2 /8track /canalrace /circuit /driftcity /hwydrag /beachcity /skrace /usr /dirt /drift\n");
        format(masterstring,sizeof(string3),"%s %s %s",string,string2,string3);
        ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"%s",masterstring);
        return 1;
    }
    return 0;
}
Код:
C:\Users\Braeden\Desktop\test.pwn(39) : warning 202: number of arguments does not match definition
C:\Users\Braeden\Desktop\test.pwn(39) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply


Messages In This Thread
Dialogue Help - by BP13 - 24.08.2010, 20:31
Re: Dialogue Help - by Claude - 24.08.2010, 20:33
Re: Dialogue Help - by BP13 - 24.08.2010, 20:34
Re: Dialogue Help - by Sergei - 24.08.2010, 20:40
Re: Dialogue Help - by BP13 - 24.08.2010, 20:41
Re: Dialogue Help - by [XST]O_x - 24.08.2010, 20:45
Re: Dialogue Help - by Toni - 24.08.2010, 20:59
Re: Dialogue Help - by BP13 - 24.08.2010, 21:15
Re: Dialogue Help - by Toni - 24.08.2010, 23:43
Re: Dialogue Help - by BP13 - 29.08.2010, 05:59

Forum Jump:


Users browsing this thread: 1 Guest(s)