03.07.2013, 03:30
Код:
public OnPlayerConnect(playerid) { inline Response(pid, dialogid, response, listitem, string:inputtext[]) { #pragma unused pid, dialogid, response, listitem, inputtext SendClientMessage(playerid, 0xFF0000AA, "You clicked a button! Good for you!"); // Inline function will end here. } Dialog_ShowCallback(playerid, using inline Response, DIALOG_STYLE_MSGBOX, "Title", "Message", "Button 1"); // Main function will end here. }