Local Chat
#1

Hey!

I'm using LimitGlobalChatRadius(125) on my server, so automatically when you write it only sends to the people around you.
Now I want to send the Message "Nobody around you recieved the message." if noone received the message. Now i have the weird bug, that the message also comes if 1 Person heard you, but as soon as 2 people hear it, it is all ok and the Message does not appear.

Anyone can help me please? Here is the code I'm using:

pawn Код:
LimitGlobalChatRadius(125);
    for(new i = 0; i < GetMaxPlayers(); i++)
    {
        if(GetDistanceBetweenPlayers(playerid, i) > 125)
        {
           SendClientMessage(playerid,COLOUR_WHITE , "( ! ) (INFO) Nobody around you recieved the message.");
        }
    }
Reply


Messages In This Thread
Local Chat - by Soeren - 24.12.2008, 13:56
Re: Local Chat - by Soeren - 25.12.2008, 11:19
Re: Local Chat - by LarzI - 25.12.2008, 11:50
Re: Local Chat - by x-cutter - 25.12.2008, 13:04
Re: Local Chat - by Soeren - 25.12.2008, 13:16
Re: Local Chat - by Ycto - 25.12.2008, 14:18
Re: Local Chat - by Soeren - 25.12.2008, 15:38
Re: Local Chat - by dax123 - 25.12.2008, 16:01
Re: Local Chat - by Soeren - 25.12.2008, 17:18
Re: Local Chat - by Serbish - 25.12.2008, 17:22

Forum Jump:


Users browsing this thread: 3 Guest(s)