CallRemoteFunction
#9

Ну начнем с того что правильнее будет:
pawn Код:
public SPD(playerid, dialogid, style, const caption[], const info[], const button1[], const button2[]) {
Попробуй так:
pawn Код:
new emptyString[] = "";
SPD(playerid, 0, DIALOG_STYLE_MSGBOX, "Text", "Text", "Okay", emptyString);
А ещё лучше:
pawn Код:
public SPD(playerid, dialogid, style, const caption[], const info[], const button1[], const button2[] = "") {
    Variable[playerid][pDialogID] = dialogid;
    ShowPlayerDialog(playerid, dialogid, style, caption, info, button1, button2);
    return 1;
}
И вызывать как:
pawn Код:
SPD(playerid, 0, DIALOG_STYLE_MSGBOX, "Text", "Text", "Okay");  
SPD(playerid, 0, DIALOG_STYLE_MSGBOX, "Text", "Text", "Okay", "Okay2");
Только не помню допускается ли у событий необязательные параметры.
Reply


Messages In This Thread
CallRemoteFunction - by Romz - 08.01.2014, 12:46
Re: CallRemoteFunction - by White_116 - 08.01.2014, 13:22
Re: CallRemoteFunction - by Romz - 08.01.2014, 14:03
Re: CallRemoteFunction - by warlock02 - 08.01.2014, 22:30
Re: CallRemoteFunction - by Stepashka - 09.01.2014, 06:14
Re: CallRemoteFunction - by Romz - 09.01.2014, 07:36
Re: CallRemoteFunction - by Stepashka - 09.01.2014, 07:53
Re: CallRemoteFunction - by Romz - 09.01.2014, 11:22
Re: CallRemoteFunction - by Stepashka - 09.01.2014, 11:37
Re: CallRemoteFunction - by Romz - 09.01.2014, 13:06
Re: CallRemoteFunction - by OKStyle - 09.01.2014, 16:44
Re: CallRemoteFunction - by Stepashka - 09.01.2014, 17:34
Re: CallRemoteFunction - by OKStyle - 10.01.2014, 03:50
Re: CallRemoteFunction - by Stepashka - 10.01.2014, 05:50
Re: CallRemoteFunction - by OKStyle - 10.01.2014, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)