Chat - Unlimited range
#1

how to make unlimited range for InCharachter chat?

that all see what other pople talking?
Reply
#2

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

which plugin support this native?
Reply
#4

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

look then my error:

Quote:

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

Reply
#6

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.
Reply
#7

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.
Reply
#8

don't define LimitGlobalChatRadius

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

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
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)