Removing talk
#1

So, when you load the script 'grandlarc' and you type anything in game, it sends the whole message you wrote to everyone, I am working on a RPG server and want it like a RP text type, proxdetector. I got the proxdetector working I just need to disable the original text thing. Heres an image of what is currently happening. http://imgur.com/iq3UU4A I want the top line of text, not the second line. Thanks
Reply
#2

It's as easy as pie.

Code:
public OnPlayerText(playerid, text[])
{
        // Your code here.
	return 0;
}
Put your code above the return 0; That will fix it.
Reply
#3

Thanks, changed return 1; to return 0; Works perfectly, thanks man. + Rep
Reply
#4

Quote:
Originally Posted by Swarn
View Post
Thanks, changed return 1; to return 0; Works perfectly, thanks man. + Rep
+rep for you too my friend ^^
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)