Need help with OnPlayerText
#6

Quote:
Originally Posted by danielpalade
Посмотреть сообщение
Well as i said, whenever a player says something in chat, their message is sent to the WHOLE server.
I want to make it so when a player types something only players around him will see it.
Well that how a normal chat should be ...

Instead of using the code above you should use this native for it
pawn Код:
// OnGameModeInit
LimitGlobalChatRadius(50.0);
// there is also another limit function
// so you only see player markers who are near you
LimitPlayerMarkerRadius(50.0);
Reply


Messages In This Thread
Need help with OnPlayerText - by danielpalade - 11.01.2015, 14:23
Re: Need help with OnPlayerText - by danish007 - 11.01.2015, 14:42
Re: Need help with OnPlayerText - by MD5 - 11.01.2015, 14:45
Re: Need help with OnPlayerText - by danielpalade - 11.01.2015, 14:48
Re: Need help with OnPlayerText - by Ironboy - 11.01.2015, 15:05
AW: Re: Need help with OnPlayerText - by Nero_3D - 11.01.2015, 15:16
Re: Need help with OnPlayerText - by danielpalade - 11.01.2015, 15:19
Re: AW: Re: Need help with OnPlayerText - by Ironboy - 11.01.2015, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)