SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Thread Tools Display Modes
Old 13/04/2017, 06:09 PM   #1
Little Clucker
Join Date: Jun 2016
Posts: 28
Reputation: 0
Default [/play4all cmd] (Most added in Script)

Well, I builded it all myself, I tried to take a look at other scripts with audio script and see what they made there, until I've done that, +REP me if you tried it out and you liked it

CMD:play4all(playerid, params[])
 if (PlayerInfo[playerid][pAdmin] >= 1338)
  if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /play4all [Link]");
      for(new i = 0; i < MAX_PLAYERS; i++)
        PlayAudioStreamForPlayer(i, params);
     SendClientMessageToAllEx(COLOR_LIGHTBLUE, "* Use /stopaudio to stop the music.");
     return 1;

CMD:stopmusic(playerid, params[])
  	if(PlayerInfo[playerid][pAdmin] >= 3)
		SendClientMessageToAllEx(COLOR_LIGHTBLUE, "* Music has been stopped.");
	  	for(new i = 0; i < MAX_PLAYERS; i++)
  	return 1;
If you find any bugs / errors in the script, tell me & fix it and repost so I'll update the thread
btw here's the cmd of /stopaudio:
CMD:stopaudio(playerid, params[])
    SendClientMessage(playerid, 0xAD1515FF, "You have stopped the music.");
    return 1;
If I'll get engouh +reps I'll post DJ System that works with this
EDIT P.W: This plugin was made in Roleplay script which the highest rank was 1338, edit the rank to your server's admin ranks
JakeWalker is offline   Reply With Quote
Old 14/04/2017, 02:45 AM   #2
Little Clucker
Join Date: Feb 2016
Location: México, CDMX
Posts: 12
Reputation: 0
Default Re: [/play4all cmd] (Most added in Script)

Incorrect section, you can post this in This link
Pavas24 is offline   Reply With Quote
Old 14/04/2017, 03:21 PM   #3
Huge Clucker
JustMe.77's Avatar
Join Date: Jun 2013
Location: Germany
Posts: 271
Reputation: 63
Default Re: [/play4all cmd] (Most added in Script)

Please stop releasing such trash shit just to gain a few reputation points..
JustMe.77 is offline   Reply With Quote
Old 14/04/2017, 03:24 PM   #4
Freshncool's Avatar
Join Date: Aug 2014
Location: United Kingdom, England.
Posts: 1,169
Reputation: 317
Default Re: [/play4all cmd] (Most added in Script)

Would not work, you don't even define PlayerInfo.
You're using a MAX_PLAYERS loop what is not up to the 2017/16/15/14/13 standard.

- Professor
Freshncool is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] Ultimate DM/TDM IRC Script Added Never Seen Commands! >> R6 Compatible! << Flake. Filterscripts 29 30/07/2015 04:27 PM
Request for pre-scripted/added house script prantheking Scripting Help 4 02/12/2014 11:09 AM
Added a filter script? Airin Scripting Help 16 20/04/2013 12:22 PM
Problem with added objects in script. Ben_Hatfield Scripting Help 22 08/12/2012 07:28 PM
Want To See my bots Help Me VIDEO ADDED! NEW VIDEO ADDED!!! shady91 Screenshots and Videos 46 29/08/2009 12:52 PM

All times are GMT. The time now is 06:02 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.