ShowPlayerDialogEx(playerid, WATCHTUT, DIALOG_STYLE_MSGBOX, "{00FF00}Atrax Roleplay - Tutorial", "Would you like to watch a small tutorial about the server basics?", "Yes", "No");
ShowPlayerDialogEx(playerid, WATCHTUT, DIALOG_STYLE_MSGBOX, "{00FF00}Atrax Roleplay - Tutorial", "Click Yes for to watch the short Tutorial please!.", "Yes");
73672) : warning 202: number of arguments does not match definition
ShowPlayerDialogEx(playerid, WATCHTUT, DIALOG_STYLE_MSGBOX, "{00FF00}Atrax Roleplay - Tutorial", "Click Yes for to watch the short Tutorial please!.", "Yes", "");
|
I believe if you don't want to have a second button, you leave second button caption blank. See to the WIKI PAGE here.
In your case, it probably must be something like this: Код:
ShowPlayerDialogEx(playerid, WATCHTUT, DIALOG_STYLE_MSGBOX, "{00FF00}Atrax Roleplay - Tutorial", "Click Yes for to watch the short Tutorial please!.", "Yes", "");
|
new day, month, year;
getdate(day, month, year);
SendClientMessage(playerid, COLOR_NEWS,"______________________________________- %s %02d/%02d/%d -______________________________________", GetPlayerNameEx(playerid), day, month, year);
new day, month, year, str[100];
getdate(day, month, year);
format(str, sizeof(str), "______________________________________- %s %02d/%02d/%d -______________________________________", GetPlayerNameEx(playerid), day, month, year);
SendClientMessage(playerid, COLOR_NEWS, str);