Y_Less

inline

Jul 28th, 2011
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.53 KB | None | 0 0
  1. stock SomeFunction(playerid)
  2. {
  3.     // Named callback.
  4.     ShowPlayerDialogCallback(playerid, 42, 2, DIALOG_STYLE_INPUT, "Login", "Enter your password below:", "Login", "Cancel", "MyCallback");
  5.     // Annonymous local callback.
  6.     ShowPlayerDialogCallback(playerid, 42, 2, DIALOG_STYLE_INPUT, "Login", "Enter your password below:", "Login", "Cancel", using inline);
  7.     inline(playerid, dialogid, response, listitem, inputtext[])
  8.     {
  9.         // Who cares.
  10.     }
  11. }
  12.  
  13. public MyCallback(playerid, dialogid, response, listitem, inputtext[])
  14. {
  15.     // Who cares.
  16. }
Advertisement
Add Comment
Please, Sign In to add comment