How to do...?
#1

How to make that chat messages appears only when player that typed it is near? Like in RP servers...

Example script please...

Thanks
Reply
#2

pawn Код:
LimitGlobalChatRadius(Float:chat_radius);
Reply
#3

Errr... Can you explain it? I'm not very advanced scripter
Reply
#4

pawn Код:
LimitGlobalChatRadius(10);//10 is the radius
//and i thought place it under OnPlayerText
Reply
#5

LimitGlobalChatRadius(2); // That will make it so only players 2 meters away from the player talking will see the chat.

The higher the number, the higher the range will be.

Place it under OnGameModeInit()
Reply
#6

Thank you very much! I'll see how it works....

EDIT: Works perfectly! Thanks again!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)