Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock SomeFunction(playerid)
- {
- // Named callback.
- ShowPlayerDialogCallback(playerid, 42, 2, DIALOG_STYLE_INPUT, "Login", "Enter your password below:", "Login", "Cancel", "MyCallback");
- // Annonymous local callback.
- ShowPlayerDialogCallback(playerid, 42, 2, DIALOG_STYLE_INPUT, "Login", "Enter your password below:", "Login", "Cancel", using inline);
- inline(playerid, dialogid, response, listitem, inputtext[])
- {
- // Who cares.
- }
- }
- public MyCallback(playerid, dialogid, response, listitem, inputtext[])
- {
- // Who cares.
- }
Advertisement
Add Comment
Please, Sign In to add comment