SA-MP Forums Archive
[Question] Role-Play phrases - 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: [Question] Role-Play phrases (/showthread.php?tid=97446)



[Question] Role-Play phrases - Ov3r - 14.09.2009

How can I make like when I type for example:
Код:
 hi
In the chat box to be:

Код:
 Hi
^
The H is changed

Sorry for my bad english.


Re: [Question] Role-Play phrases - saiberfun - 14.09.2009

Quote:
Originally Posted by Ov3r
How can I make like when I type for example:
Код:
 hi
In the chat box to be:

Код:
 Hi
^
The H is changed

Sorry for my bad english.
hmm
i don't think that this is scriptable
'cuz as far as i know you can't check if there is a capital or not.
correct me if im wrong


Re: [Question] Role-Play phrases - Ov3r - 14.09.2009

I saw this on a server, I think it is a little thingy from OnPlayerText...
The guy practically typed "hi" but in the chat box it was "Hi".


Re: [Question] Role-Play phrases - Calgon - 14.09.2009

Quote:
Originally Posted by SaiBerFun
Quote:
Originally Posted by Ov3r
How can I make like when I type for example:
Код:
 hi
In the chat box to be:

Код:
 Hi
^
The H is changed

Sorry for my bad english.
hmm
i don't think that this is scriptable
'cuz as far as i know you can't check if there is a capital or not.
correct me if im wrong
You can. Just like IsNumeric(), except the lowercase alphabet etc.


Re: [Question] Role-Play phrases - Ov3r - 14.09.2009

Quote:
Originally Posted by Calgon
Quote:
Originally Posted by SaiBerFun
Quote:
Originally Posted by Ov3r
How can I make like when I type for example:
Код:
 hi
In the chat box to be:

Код:
 Hi
^
The H is changed

Sorry for my bad english.
hmm
i don't think that this is scriptable
'cuz as far as i know you can't check if there is a capital or not.
correct me if im wrong
You can. Just like IsNumeric(), except the lowercase alphabet etc.
I really don't know how to make this, can you make an example, please?
EDIT: Nevermind, I found a simple way !