Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Music
- Filtrescript
- By
- NeO
- */
- #include <a_samp>
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- //variabile
- new cmd[256];
- //comenzi
- if(strcmp(cmd, "/music1", true) == 0)
- {
- PlayerPlaySound(playerid,1062,-119.9460,23.1096,12.2238);//SOUND_GOGO_START_TRACK
- SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica1");
- SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
- return 1;
- }
- if(strcmp(cmd, "/music2", true) == 0)
- {
- SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica2");
- SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
- PlayerPlaySound(playerid,1068,-119.9460,23.1096,12.2238);//SOUND_DUAL_TRACK_START
- return 1;
- }
- if(strcmp(cmd, "/music3", true) == 0)
- {
- SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica3");
- SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
- PlayerPlaySound(playerid,1076,-119.9460,23.1096,12.2238);//SOUND_BEE_START_TRACK
- return 1;
- }
- if(strcmp(cmd, "/music4", true) == 0)
- {
- SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica4");
- SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
- PlayerPlaySound(playerid,1097,-119.9460,23.1096,12.2238);//sound_award_start_track
- return 1;
- }
- if(strcmp(cmd, "/music5", true) == 0)
- {
- SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica1");
- SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
- PlayerPlaySound(playerid,1183,-119.9460,23.1096,12.2238);//SOUNDE_DRIVING_AWARD_START_TRACK
- return 1;
- }
- if(strcmp(cmd, "/music6", true) == 0)
- {
- SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica6");
- SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
- PlayerPlaySound(playerid,1185,-119.9460,23.1096,12.2238);//SOUND_BIKE_AWARD_TRACK_START
- return 1;
- }
- if(strcmp(cmd, "/music7", true) == 0)
- {
- SendClientMessage(playerid,0x0F67DFF,"Ai Pornit Muzica7");
- SendClientMessage(playerid,0x0F67DFF,"Pentru a vedea lista cu toate melodiile scrie /musiclist");
- PlayerPlaySound(playerid,1187,-119.9460,23.1096,12.2238);//SOUND_PILOT_TRACK_START
- return 1;
- }
- if(strcmp(cmd, "/musiclist", true) == 0)
- {
- SendClientMessage(playerid,0x0CE56FF,"==========Music List=====================================");
- SendClientMessage(playerid,0xF66156FF," /music1,/music2,/music3,/music4,/music5,/music6,/music7");
- SendClientMessage(playerid,0x0CE56FF,">----------------------By [RSU]NeO---------------------------<");
- return 1;
- }
- return 0;
- }
- public OnFilterScriptInit()
- {
- print("Music FiltreScript By NeO(/musiclist");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment