Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// FILTERSCRIPT - SISTEMA DE VOZ
- /// FAMILIASAMP.COM
- /*
- Google sound or voice sound system by MORJAN please dont remove credits.
- */
- #include <a_samp>
- #include <sscanf2>
- #include <zcmd>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print("by MORJAN");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print("by MORJAN");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- return 1;
- }
- CMD:sound(playerid,params[]) {
- #pragma unused params
- if(IsPlayerAdmin(playerid))
- {
- if(isnull(params)) return SendClientMessage(playerid, 0xFF0000AA, "USAGE: /sound [sound will play]");
- new string[128]; format(string, sizeof(string), "http://soundoftext.com/static/sounds/en/%s.mp3", params[0] );
- for(new i=0;i<MAX_PLAYERS;i++) PlayAudioStreamForPlayer(i,string);
- } else return SendClientMessage(playerid,0xFF0000AA,"You must be admin.");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement