SA-MP Forums Archive
How to do this??? - 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: How to do this??? (/showthread.php?tid=582666)



How to do this??? - JawsPlus - 22.07.2015

can i stream audio without sending the audio link for the player


Re: How to do this??? - fuckingcruse - 22.07.2015

Ye ,for example my url is *******.com

I will do
#define ******* *******.com

And when you send msg , send it as ******* , that's it.


Re: How to do this??? - rymax99 - 22.07.2015

You can't hide the URL. Most you can do is send enough blank lines to hide it - which makes sense if you want to stream something for connecting players. Other than that, there's no reason to hide streaming.


Re : How to do this??? - KillerDVX - 22.07.2015

PHP код:
if (strcmp("/audio"cmdtexttrue10) == 0)
    {
        
// Your audio link
                 
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ; //Some blanks lignes
        
return 1;
    } 



Re: How to do this??? - SchurmanCQC - 22.07.2015

Quote:
Originally Posted by fuckingcruse
Посмотреть сообщение
Ye ,for example my url is *******.com

I will do
#define ******* *******.com

And when you send msg , send it as ******* , that's it.


No, don't listen to this guy.

Pretty much the reason I avoid the scripting help section.


Re: Re : How to do this??? - TenTen - 22.07.2015

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
PHP код:
if (strcmp("/audio"cmdtexttrue10) == 0)
    {
        
// Your audio link
                 
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ; //Some blanks lignes
        
return 1;
    } 
he will cleared the main chat dude


Re: Re : How to do this??? - rymax99 - 22.07.2015

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
PHP код:
if (strcmp("/audio"cmdtexttrue10) == 0)
    {
        
// Your audio link
                 
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ;
    
SendClientMessageToAll 0xDEEE20FF"" ) ; //Some blanks lignes
        
return 1;
    } 
Код:
for(new i = 0; i < 20; i++) SendClientMessageToAll(-1, " ");



Re: How to do this??? - JaydenJason - 22.07.2015

To answer your question, you can but both server and client needs the audio plugin by Incognito, or you can simply ask them to do /audiomsg and make sure it's off when they connect