Chat Distance Limit For RPG Mode's ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Chat Distance Limit For RPG Mode's ? (
/showthread.php?tid=84235)
Chat Distance Limit For RPG Mode's ? -
HeX123 - 29.06.2009
How can I set 30 meter limit for chatting with IsPlayerInArea code ?
Re: Chat Distance Limit For RPG Mode's ? -
HeX123 - 29.06.2009
Please help me.
Re: Chat Distance Limit For RPG Mode's ? -
Klutty - 29.06.2009
Use ProxDetector
Re: Chat Distance Limit For RPG Mode's ? -
Ignas1337 - 29.06.2009
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);
Re: Chat Distance Limit For RPG Mode's ? -
coole210 - 29.06.2009
Or maybe just use a default a_samp function in OnGameModeInit()
pawn Код:
LimitGlobalChatRadius(30.0);
Re: Chat Distance Limit For RPG Mode's ? -
HeX123 - 29.06.2009
Thanks.