How to add a sound
#2

Add under
PHP код:
public OnPlayerConnect(playerid)

    
PlayAudioStreamForPlayer(playerid,"Your Audio or song site");
    return 
1;

if you want it to play when someone join just.

if you want it as Command use (zcmd):
PHP код:
#include <zcmd>
CMD:music(playerid,params[])
{
     
PlayAudioStreamForPlayer(playerid,"Your Audio or song site");
     return 
1;

i don't thing and there's a way to hide it from main chat.
Reply


Messages In This Thread
How to add a sound - by AndreiWow - 01.01.2017, 20:28
Re: How to add a sound - by RyderX - 01.01.2017, 20:30
Re: How to add a sound - by GoldenLion - 01.01.2017, 20:37
Re: How to add a sound - by AndreiWow - 01.01.2017, 20:55
Re: How to add a sound - by GoldenLion - 01.01.2017, 20:59
Re: How to add a sound - by AndreiWow - 01.01.2017, 21:04
Re: How to add a sound - by SoLetsGO - 01.01.2017, 21:09
Re: How to add a sound - by iLearner - 01.01.2017, 21:55
Re: How to add a sound - by Spmn - 01.01.2017, 22:13
Re: How to add a sound - by AndreiWow - 02.01.2017, 09:22

Forum Jump:


Users browsing this thread: 2 Guest(s)