SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 04/01/2012, 09:37 AM   #1
#Pwn.
Little Clucker
 
#Pwn.'s Avatar
 
Join Date: Jan 2012
Location: Oberbayern
Posts: 20
Reputation: 3
Default Normal Chat

Hello,

I want to remove the normal while pressing the button T.

I have script an chat with /c and I donīt want to use T to chat!

How I can remove this chat with T?
__________________
#Pwn. what else?
Progress of [SAL]San Andreas Live

5%/100 %

HP: www.sal-roleplay.de

My Tutorials :
Yes, I am German :3
#Pwn. is offline   Reply With Quote
Old 04/01/2012, 09:45 AM   #2
Gooday
Huge Clucker
 
Gooday's Avatar
 
Join Date: Nov 2011
Location: Fort Carson
Posts: 489
Reputation: 40
Default Re: Normal Chat

T---->
-----------------------------------------------------
/C *TEXT* |
-----------------------------------------------------
Gooday is offline   Reply With Quote
Old 04/01/2012, 09:47 AM   #3
Joe_
Gangsta
 
Join Date: Mar 2010
Location: UK, Essex
Posts: 516
Reputation: 1
Default Re: Normal Chat

return 0 under OnPlayerText, or return a message that says something along the lines of: "Type /c <text> to chat."

http://wiki.sa-mp.com/wiki/OnPlayerText
Joe_ is offline   Reply With Quote
Old 04/01/2012, 09:48 AM   #4
Wesley221
High-roller
 
Wesley221's Avatar
 
Join Date: Apr 2011
Posts: 1,564
Reputation: 714
Default Re: Normal Chat

pawn Code:
public OnPlayerText(playerid, text[])
{
    return 0;
}
That will prevent from talking with T, though i dont really get why you want that; since you can change the text you will type any way you like.
__________________
yes
Wesley221 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Normal Chat Message with Memory Access - Is it allowed? Momo5000 Scripting Help 13 01/01/2012 09:53 PM
Need a normal Local OOC chat command(/b) R3G1ST3R Help Archive 9 27/05/2011 04:12 PM
Normal chat in a short distance. Ihsan_Cingisiz Help Archive 6 30/05/2010 08:46 PM
OOC chat and Normal Chat RoneyRemington Help Archive 6 23/02/2010 01:29 AM
[HELP]Change the normal chat (F6) color KfirRP Help Archive 1 26/11/2009 06:04 AM


All times are GMT. The time now is 07:40 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.