#3

Quote:
Originally Posted by Nonameman
Посмотреть сообщение
pawn Код:
public OnPlayerText(playerid, text[])
{
new Float:pPos[3];
GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]);
for(new i=0; i<MAX_PLAYERS; i++)
{
if(!IsPlayerInRangeOfPoint(i, range, pPos[0], pPos[1], pPos[2]) continue;//Put sg instead of range
SendClientMessage(i, 0xffffffff, text);
}
return 0;
}
Or you can do in OnGameModeInit();
pawn Код:
LimitGlobalChatRadius(/*RADIUS*/);
I recommend the Radius, 10.0.

Greetin's
Reply


Messages In This Thread
Chat - by GangsTa_ - 21.08.2010, 08:29
Re: Chat - by Nonameman - 21.08.2010, 09:59
Re: Chat - by Ihsan_Cingisiz - 21.08.2010, 10:36
Re: Chat - by GangsTa_ - 21.08.2010, 10:40
Re: Chat - by GangsTa_ - 21.08.2010, 13:29
Re: Chat - by RoCK'N'Rolla - 21.08.2010, 13:30
Re: Chat - by GangsTa_ - 21.08.2010, 13:49
Re: Chat - by Dark_Kostas - 21.08.2010, 14:21
Re: Chat - by Claude - 21.08.2010, 15:51
Re: Chat - by Agent Smith - 21.08.2010, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)