[HELP] Questions and warnings
#1

I need to know how to synchronize the radio of the players (with audio plugin,) for example:

Someone enter to my car and automatically hear the same radio as me.
I get out of the car and going up again I keep hearing the same radio.

The other thing is I have a warning, here I leave the line and the warning.

Warning: warning 203: symbol is never used: "params"


Lines:

dcmd_syo(playerid,params[])
{
if(Estado[playerid] == true){
SendClientMessage(playerid,POSITIVO,"asdasd!");
Delete3DTextLabel(Festado[playerid]);
Estado[playerid] = false; return 1; }
if(Estado[playerid] == false) return SendClientMessage(playerid,COLOR_GREY,"asdasda");
return 1;
}

Thanks...
Reply
#2

The only thing you could possibly do is stream into a live radio station, then they would both be hearing the same transmission at the same time.
Reply
#3

pawn Код:
dcmd_syo(playerid,params[])
{
    #pragma unused params
    if(Estado[playerid] == true){
    SendClientMessage(playerid,POSITIVO,"asdasd!");
    Delete3DTextLabel(Festado[playerid]);
    Estado[playerid] = false; return 1; }
    if(Estado[playerid] == false) return SendClientMessage(playerid,COLOR_GREY,"asdasda");
    return 1;
}
Try doing something with this :
pawn Код:
if(IsPlayerInAnyVehicle(playerid))
{
    if(VehiclePlayingMusic)
    {
        .....
    }
    ...
}
Reply
#4

Quote:
Originally Posted by The__
Посмотреть сообщение
pawn Код:
dcmd_syo(playerid,params[])
{
    #pragma unused params
    if(Estado[playerid] == true){
    SendClientMessage(playerid,POSITIVO,"asdasd!");
    Delete3DTextLabel(Festado[playerid]);
    Estado[playerid] = false; return 1; }
    if(Estado[playerid] == false) return SendClientMessage(playerid,COLOR_GREY,"asdasda");
    return 1;
}
Thanks a lot.

Quote:
Originally Posted by The__
Посмотреть сообщение
Try doing something with this :
pawn Код:
if(IsPlayerInAnyVehicle(playerid))
{
    if(VehiclePlayingMusic)
    {
        .....
    }
    ...
}
explain this a little more please xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)