Some Quick help with "OnPlayerText" Would be Appreciated.
#1

Hiyo. Im currently writing an RP Chat system. I have ProxDetector and all that working. my mind is just drawing a blank on how to Delete the conventional message that is played.
I know that sounds weird but what I mean is.
If I were to say

"Hello"

The script will then print this sucker out.

Grant: Hello
Grant: Hello

One of them is written by proxdetector. and the other one is just traditional SA:MP Chat.
Is there a function to prevent normal SA:MP chat?

O_O Sorry If Im not making much sense, any help is appreciated.
Reply
#2

You would
Код:
return 0;
instead of 1 under OnPlayerText so only your RP text will go through.
Reply
#3

Thankyou Kindly.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)