Chat Distance Limit For RPG Mode's ?
#1

How can I set 30 meter limit for chatting with IsPlayerInArea code ?
Reply
#2

Please help me.
Reply
#3

Use ProxDetector
Reply
#4

yes, check pen1 code or gf code. do a new realchat = 1; and copy code. the ncopy the function ProxDetector. That should do It. You can also call a function ongamemodeinit which linits the radius. Something like SetGlobalChatRadius(float:rad);
Reply
#5

Or maybe just use a default a_samp function in OnGameModeInit()

pawn Код:
LimitGlobalChatRadius(30.0);
Reply
#6

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)