Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <a_samp>
  2. #define MusicDialog 1923
  3.  
  4. public OnPlayerCommandText(playerid, cmdtext[])
  5. {
  6. if (strcmp("/Music", cmdtext, true, 10) == 0)
  7. {
  8. ShowPlayerDialog(playerid, MusicDialog, DIALOG_STYLE_INPUT, "{FC0000}Mu{FC00BD}sic {00C2FC}Li{00FC43}st - {FCF800}רשימת {FC5400}מוזיקה ", "{2EF007}יעקב חתן - מחכה\n{C8FF00}Jason Derulo - Wiggle\n{00B3FF}Snake - Bird Machine\n{FF8800}טראנס העלבת שוטר\n{FF4800}בן אל - אולי תגידו\nOrca - La La Li(Remix)\nShir4", "הפעל", "יציאה");
  9. return 1;
  10. }
  11. if (strcmp("/Credits", cmdtext, true, 10) == 0){ShowPlayerDialog(playerid, 22233, DIALOG_STYLE_MSGBOX, "{FF0000}Music System", "{ffff00}BlasT - קרדיט לליאור ביטון על בניית המערכת", "יציאה", "");return 1;}
  12. return 1;
  13. }
  14.  
  15. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  16. {
  17. if(dialogid == MusicDialog && response)
  18. {
  19.     if(!strcmp(inputtext, "1", true)) PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/2fs5q8g8d1/-_-.mp3");
  20. }
  21. return 1;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement