SA-MP Forums Archive
Chat - Unlimited range - 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 - Unlimited range (/showthread.php?tid=270946)



Chat - Unlimited range - tbedy - 22.07.2011

how to make unlimited range for InCharachter chat?

that all see what other pople talking?


Re: Chat - Unlimited range - Lorenc_ - 22.07.2011

pawn Код:
native LimitGlobalChatRadius(Float:chat_radius);
Hopefully this helps


Re: Chat - Unlimited range - tbedy - 22.07.2011

which plugin support this native?


Re: Chat - Unlimited range - iPLEOMAX - 22.07.2011

Quote:
Originally Posted by tbedy
Посмотреть сообщение
which plugin support this native?
a_samp, the one that comes normally with samp server..


Re: Chat - Unlimited range - tbedy - 22.07.2011

look then my error:

Quote:

mod od 0\gamemodes\nula.pwn( : error 021: symbol already defined: "LimitGlobalChatRadius"




Re: Chat - Unlimited range - alpha500delta - 22.07.2011

Quote:
Originally Posted by tbedy
Посмотреть сообщение
look then my error:
It seems it already is in your Gamemode. Try CTRL+F and search the other one, then remove it or change it to the number in the one you added when the error occurred.


Re: Chat - Unlimited range - Calgon - 22.07.2011

No, you don't just add the native part, it's in a_samp.inc. You USE the function, you DON'T define it.

Quote:
Originally Posted by alpha500delta
Посмотреть сообщение
It seems it already is in your Gamemode. Try CTRL+F and search the other one, then remove it or change it to the number in the one you added when the error occurred.
Read before posting.


Re: Chat - Unlimited range - Donya - 22.07.2011

don't define LimitGlobalChatRadius

just do
pawn Код:
public OnGameModeInit()
{
    LimitGlobalChatRadius(YOUR_RADIUS_HERE_MUST_BE_A_FLOAT);
    return 1;
}
edit: Calg00ne beat me


Re: Chat - Unlimited range - tbedy - 22.07.2011

no, i dont have any natives, only this, but why this "native2 is blue color in my moe, because he need to be of blue color


Re: Chat - Unlimited range - Calgon - 22.07.2011

If you don't have any natives in your script, then it won't work. You have #include <a_samp> which includes a list of natives that SA-MP uses.