SA-MP Forums Archive
Edit system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Edit system (/showthread.php?tid=489748)



Edit system - ziggy - 23.01.2014

please help me
i want to edit this to when i do /radio on all players listen,not only me! and it to be for rcon

http://pastebin.com/UidCAv9J


Re: Edit system - ziggy - 23.01.2014

20 vievs but no edited!!!


Re: Edit system - ziggy - 23.01.2014

All radio systems with dialog not working because dialog IDs are same please i someone can fix that
Im giving beta tester!!!


Re: Edit system - Tayab - 23.01.2014

Here you go!

pawn Код:
//                . . .=+=+=+=+=+=+=+=+=+=+=+=+= RADIO SCRIPT BY VAIBHAV =+=+=+=+=+=+=+=+=+=+=+=+=+=+=. . .

#include <a_samp>

#define FILTERSCRIPT

#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_PINK 0xFFC0CBAA
#define COLOR_RED 0xAA3333AA

public OnFilterScriptInit()
{
        print("\n--------------------------------------");
        print(" Online Radio script by  •rTbreN_");
        print("--------------------------------------\n");
        return 1;
}

main()
{
        print("\n----------------------------------");
        print(" Online Radio script by •rTbreN_");
        print("----------------------------------\n");
}

public OnPlayerCommandText(playerid, cmdtext[])
{
        if(strcmp("/Radio info", cmdtext, true, 10) == 0)
{
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "~=~=~=~=~=~=~=~=~=~= Radio Channels ~=~=~=~=~=~=~=~=~=~=");
        SendClientMessage(playerid, COLOR_WHITE, "Getting Bore Want Some Music Use /Radio on");
        SendClientMessage(playerid, COLOR_WHITE, "Want To Stop Radio Use /Radio off");
        SendClientMessage(playerid, COLOR_WHITE, "We Hope You Like The Radio , Enjoy It.");
                SendClientMessage(playerid, COLOR_PINK, "The Radio Script Is Fully Made By Vaibhav");//Don't change credites please.
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "~=~=~=~=~=~=~=~=~=~= Radio Channels ~=~=~=~=~=~=~=~=~=~=");
        return 1;
}
        if (strcmp("/Radio off", cmdtext, true, 10) == 0)
{
        if(!IsPlayerAdmin(playeid)) return SendClientMessage(playerid,0xCCCCCCCC,"You're not an admin.");
        for(new i = 0; i < MAX_PLAYERS; i++) StopAudioStreamForPlayer(i);
        SendClientMessage(playerid, 0xAA3333AA, "You have stopped the playing radio. . .");
        return 1;
}

       if (strcmp("/Radio on", cmdtext, true) == 0)
{
        if(!IsPlayerAdmin(playeid)) return SendClientMessage(playerid,0xCCCCCCCC,"You're not an admin.");
        for(new i = 0; i < MAX_PLAYERS; i++) PlayAudioStreamForPlayer(i, "http://www.adriastream.net/cast/tunein.php/impulsradio/playlist.pls");
        SendClientMessage(playerid, 0xFFFFFFAA, "Type /Radio off to stop audio streaming.");
        return 1;


        //Fully created by  Vaibhav
}

        return 0;
}



Re: Edit system - ziggy - 24.01.2014

Can you please make
/radioall on to turn on to all players,rcon admins
/radio on to player can turn on it!
Please make it
185.38.46.134:7469
Thank you


Re: Edit system - Flake. - 24.01.2014

Quote:
Originally Posted by ziggy
Посмотреть сообщение
Can you please make
/radioall on to turn on to all players,rcon admins
/radio on to player can turn on it!
Please make it
185.38.46.134:7469
Thank you
This is a scripting help section not a "I ask them to do everything for me" If you want to request script use

https://sampforum.blast.hk/showthread.php?tid=413556


Try make it yourself first and then we might be able to help you.


Re: Edit system - ziggy - 24.01.2014

All thredas closed