Guest User

Untitled

a guest
Jul 3rd, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. #include <a_samp>
  2. #include <zcmd>
  3. #include <youtube>
  4. #define DIALOG_CD1 555555
  5. #define DIALOG_CD2 666666
  6. #define DIALOG_CD3 777777
  7. #define COLOR_YELOW 0xE6E600FF
  8.  
  9.  
  10. CMD:cd(playerid,params[])
  11. {
  12. if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xff0000aa, " [BM-RP] Niste u vozilu!");
  13. ShowPlayerDialog(playerid, DIALOG_CD1, DIALOG_STYLE_LIST, "Izaberite vrstu muzike", "Narodna\nZabavna" , "Uredu", "Izlaz");
  14.  
  15.  
  16. return 1;
  17. }
  18.  
  19.  
  20.  
  21. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  22. {
  23. if(dialogid == DIALOG_CD1)
  24. {
  25. if(response)
  26. {
  27. if(listitem == 0)
  28. {
  29. ShowPlayerDialog(playerid, DIALOG_CD2, DIALOG_STYLE_LIST, "Izaberite pjesmu", "Saban Saulic-Zal\nSaban Saulic-Stacu kuci tako rano\nJovan Perisic-Sve cu da razbijem\nZorica Brunclik-A tebe nema\nVesna Zmijanac-Kazni me\nMitar Miric-Nemoze nam niko nista\nAcko Nezirovic-Da si moja" , "Uredu", "Izlaz");
  30.  
  31. }
  32. }
  33. }
  34.  
  35. return 1;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment