help with Range Chat
#1

ok i got a probelm i made the Range "50" so its a local chat but i dont know why the ppl still can talk as example from LV to LS the range didnt changed its no local chat

PHP код:
public Chat_LocalRange(playeridcolorstring[])
{
    new 
FloatmPlayerXFloatmPlayerYFloatmPlayerZ;
    for(new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            
GetPlayerPos(playeridmPlayerXmPlayerYmPlayerZ);
            if(
IsPlayerInRangeOfPoint(i50505050))
            {
                if(
GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i) && GetPlayerInterior(playerid) == GetPlayerInterior(i))
                {
                    
SendClientMessage(iCOLOR_WHITEstring);
                }
            }
        }
    }
    return 
1;

or did i changed the range in the wronge part?
Reply


Messages In This Thread
help with Range Chat - by [LSG]Lil_Familie - 10.12.2011, 18:51
Re: help with Range Chat - by MadeMan - 10.12.2011, 18:55
AW: help with Range Chat - by [LSG]Lil_Familie - 11.12.2011, 08:43
Re: help with Range Chat - by MadeMan - 11.12.2011, 09:47
AW: help with Range Chat - by [LSG]Lil_Familie - 11.12.2011, 10:27
Respuesta: help with Range Chat - by PHudson - 11.12.2011, 18:55
AW: help with Range Chat - by [LSG]Lil_Familie - 18.12.2011, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)