Question about interiors/virtualworld
#1

------
Reply
#2

What do you mean by hear?
Reply
#3

Yes, They will have the ability to see the Messages.
You can disable them using this.
pawn Код:
stock SendInteriorMessage(playerid,COLOR,message[])
{
    for(new i=0; i<MAX_PLAYERS;i++)
    if(IsPlayerConnected(i))
    {
        if(GetPlayerInterior(playerid) == GetPlayerInterior(i))
        {
                SendClientMessage(i,COLOR,message);
                // Will basicly, Send a message to players with same Interior.
          }
    }
}
pawn Код:
stock SendVirtualWorldMessage(playerid,COLOR,message[])
{
    for(new i=0; i<MAX_PLAYERS;i++)
    if(IsPlayerConnected(i))
    {
        if(GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i))
        {
                SendClientMessage(i,COLOR,message);
                // Will basicly, Send a message to players with same virtual world.
          }
    }
}
Reply
#4

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)