Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*====================[FS]DJ Exclusivo SSGames====================
- ====================[Por:Chefao_Unknwon]========================
- ====================[PLÁGIO = CRIME]============================
- ====================[FS]DJ Exclusivo SSGames====================*/
- #define FILTERSCRIPT
- /*====================[FS]DJ Exclusivo SSGames====================
- ====================[Por:Chefao_Unknwon]========================
- ====================[PLÁGIO = CRIME]============================
- ====================[FS]DJ Exclusivo SSGames====================*/
- #include <a_samp>
- #include <zcmd>
- #include <sscanf>
- #include <foreach>
- #define COLOR_LIGHTRED 0xAA3333AA
- public OnFilterScriptInit()
- {
- print("<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ");
- print(" <><><><>DJ Filterscript Carregado by Chefao_Unknwon<><><><><> ");
- print("<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ");
- print(" <><><><>DJ Filterscript Desligado by Chefao_Unknown<><><><><><>");
- print("<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>\n");
- return 1;
- }
- // CMD DO SISTEMA DE DJ BY:CHEFAO_UNKNWON
- CMD:dj(playerid, params[])
- {
- new string[128];
- if(sscanf(params, "s[256]", params)) return SendClientMessage(playerid, -1, "[Uso]: /dj [/ajuda /pare /creditosdj]");
- if(!strcmp(params, "ajuda", true, 4))
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "{0033FF}Ajuda DJ:{FAD008}DJ é um sistema para os jogadores a tocar músicas oficialmente.");
- SendClientMessage(playerid, COLOR_LIGHTRED, "{0033FF}Ajuda DJ:{FAD008}Todos os jogadores serão capazes de ouvir a música. Não só você!");
- return 1;
- }
- if(!strcmp(params, "pare", true, 4))
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "{0033FF}DJ Parado.");
- StopAudioStreamForPlayer(playerid);
- return 1;
- }
- if(!strcmp(params, "creditosdj", true, 4))
- {
- SendClientMessage(playerid, COLOR_LIGHTRED, "Créditos do Sistema:");
- SendClientMessage(playerid, -1, "{0033FF} Chefao_Unknwon por criar este sistema");
- SendClientMessage(playerid, -1, "{FAD009} Exclusivamente para SSGames");
- return 1;
- }
- //if(PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_GREY, "Você não esta autorizado a usar este sistema");//Se quiser deixar a menssagem retire o [//]
- format(string, sizeof(string), "{FFFFFF}>> {0033FF}[DJ]{FFFFFF}:Um jogador é agora DJrick {FAD008} ( /dj ajuda para mais informacoes)");
- SendClientMessageToAll(0xFFFFFFAA,string);
- foreach(Player, i)
- {
- PlayAudioStreamForPlayer(i, params);
- }
- return 1;
- }
- /*====================[FS]DJ Exclusivo SSGames====================
- ====================[Por:Chefao_Unknwon]========================
- ====================[PLÁGIO = CRIME]============================
- ====================[FS]DJ Exclusivo SSGames====================*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement