Would this work?
#7

No.
pawn Код:
public OnPlayerText(playerid, text[])
{
    new String[128], name[24], Float:X, Float:Y, Float:Z;
        GetPlayerName(playerid, name, sizeof name);
        GetPlayerPos(playerid, X, Y, Z);
    format(String, sizeof String, "%s says: %s", name, text);
        foreach (Player,i)
        {
               if(IsPlayerInRangeOfPoint(i, 30, X, Y, Z))
               {
                     SendClientMessage(i, -1, String);
                     return 1;
               }
        }
    return 0;
}
Something like that
Reply


Messages In This Thread
Would this work? - by Shockey HD - 11.08.2011, 22:40
Re: Would this work? - by antonio112 - 11.08.2011, 22:43
Re: Would this work? - by Shockey HD - 11.08.2011, 23:24
Re: Would this work? - by Onyewu - 11.08.2011, 23:28
Re: Would this work? - by Shockey HD - 11.08.2011, 23:40
Re: Would this work? - by PrawkC - 11.08.2011, 23:43
Re: Would this work? - by antonio112 - 11.08.2011, 23:48

Forum Jump:


Users browsing this thread: 2 Guest(s)