iDarkRain

Anti Dialog Hack

Dec 2nd, 2011
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.61 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  4. {
  5.     CuandoRespondenDialog(playerid, GetPVarInt(playerid,"DialogID"), response, listitem, inputtext);
  6.     return 1;
  7. }
  8.  
  9. stock MostrarDialog(playerid, dialogid, style, caption[], info[], button1[], button2[])
  10. {
  11.     SetPVarInt(playerid, "DialogID", dialogid);
  12.     return ShowPlayerDialog(playerid, dialogid, style, caption, info, button1, button2);
  13. }
  14.  
  15. forward CuandoRespondenDialog(playerid, dialogid, response, listitem, inputtext[]);
  16.  
  17. #define OnDialogResponse CuandoRespondenDialog
  18. #define ShowPlayerDialog MostrarDialog
  19.  
Add Comment
Please, Sign In to add comment