Guest User

[FS]Music

a guest
Jul 20th, 2010
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 2.71 KB | None | 0 0
  1. /*
  2.                          Music
  3.                              Filtrescript
  4.                                           By
  5.                                               NeO
  6.                                              
  7. */
  8. #include <a_samp>
  9.  
  10. public OnPlayerCommandText(playerid, cmdtext[])
  11. {
  12. //variabile
  13. new cmd[256];
  14. //comenzi
  15. if(strcmp(cmd, "/music1", true) == 0)
  16. {
  17. PlayerPlaySound(playerid,1062,-119.9460,23.1096,12.2238);//SOUND_GOGO_START_TRACK
  18. SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica1");
  19. SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
  20. return 1;
  21. }
  22. if(strcmp(cmd, "/music2", true) == 0)
  23. {
  24. SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica2");
  25. SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
  26. PlayerPlaySound(playerid,1068,-119.9460,23.1096,12.2238);//SOUND_DUAL_TRACK_START
  27. return 1;
  28. }
  29. if(strcmp(cmd, "/music3", true) == 0)
  30. {
  31. SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica3");
  32. SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
  33. PlayerPlaySound(playerid,1076,-119.9460,23.1096,12.2238);//SOUND_BEE_START_TRACK
  34. return 1;
  35. }
  36. if(strcmp(cmd, "/music4", true) == 0)
  37. {
  38. SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica4");
  39. SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
  40. PlayerPlaySound(playerid,1097,-119.9460,23.1096,12.2238);//sound_award_start_track
  41. return 1;
  42. }
  43. if(strcmp(cmd, "/music5", true) == 0)
  44. {
  45. SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica1");
  46. SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
  47. PlayerPlaySound(playerid,1183,-119.9460,23.1096,12.2238);//SOUNDE_DRIVING_AWARD_START_TRACK
  48. return 1;
  49. }
  50. if(strcmp(cmd, "/music6", true) == 0)
  51. {
  52. SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica6");
  53. SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
  54. PlayerPlaySound(playerid,1185,-119.9460,23.1096,12.2238);//SOUND_BIKE_AWARD_TRACK_START
  55. return 1;
  56. }
  57. if(strcmp(cmd, "/music7", true) == 0)
  58. {
  59. SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica7");
  60. SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
  61. PlayerPlaySound(playerid,1187,-119.9460,23.1096,12.2238);//SOUND_PILOT_TRACK_START
  62. return 1;
  63. }
  64. if(strcmp(cmd, "/musiclist", true) == 0)
  65. {
  66. SendClientMessage(playerid,0x0CE56FF,"==========Music List=====================================");
  67. SendClientMessage(playerid,0xF66156FF," /music1,/music2,/music3,/music4,/music5,/music6,/music7");
  68. SendClientMessage(playerid,0x0CE56FF,">----------------------By [RSU]NeO---------------------------<");
  69. return 1;
  70. }
  71. return 0;
  72. }
  73. public OnFilterScriptInit()
  74. {
  75.     print("Music FiltreScript By NeO(/musiclist");
  76.     return 1;
  77. }
Advertisement
Add Comment
Please, Sign In to add comment