I am playing MTA ( Multi theft auto ).
the global chat is bound on 'x', so when i press x it says Globalchat: and i can type
what i want is, when i press 'x' to be like this, Globalchat: ##ff0000ff0000, with the numbers also, so i can type after the numbers
any ideas how i can make that?
Globalchat Game
Re: Globalchat Game
Like this ?
Code: Select all
x::
SendRaw, ##ff0000ff0000
return
Re: Globalchat Game
You probably want a little more like the following.. Also restrict the script to your game only with #IfWinActive so you can alt tab and do other things. The following script would let you still type x after sending your color code. Enter button would reset it so you can do it again.. I used enter because that's what I assume you would use to finish chatting.
Code: Select all
ImTyping := 0
~$x::
if (ImTyping = 0)
{
SendRaw, ##ff0000ff0000
ImTyping := 1
}
return
~$Enter::
ImTyping := 0
Return
Re: Globalchat Game
ImTyping := 0
~$x::
if (ImTyping = 0)
{
SendRaw, ##ff0000ff0000
ImTyping := 1
}
return
~$Enter::
this works but only for one time, i want it for every time i type.
~$x::
if (ImTyping = 0)
{
SendRaw, ##ff0000ff0000
ImTyping := 1
}
return
~$Enter::
this works but only for one time, i want it for every time i type.
Re: Globalchat Game
Bruh if you didn't notice by now there's more code. Scroll thru the code box to get it or use one of the 3 options in the codebox. You'll find Code: [Select all] [Expand] [Download]. Have a good one.
Re: Globalchat Game
Why you make the Script so complicated ?TygerByte wrote:Bruh if you didn't notice by now there's more code. Scroll thru the code box to get it or use one of the 3 options in the codebox. You'll find Code: [Select all] [Expand] [Download]. Have a good one.
the Script that i postet work so why this ? xD
Re: Globalchat Game
Reloaded wrote:Why you make the Script so complicated ?TygerByte wrote:Bruh if you didn't notice by now there's more code. Scroll thru the code box to get it or use one of the 3 options in the codebox. You'll find Code: [Select all] [Expand] [Download]. Have a good one.
the Script that i postet work so why this ? xD
Because your script doesn't let him type words with X
Re: Globalchat Game
Oh really ? Than its ok xDTygerByte wrote:Reloaded wrote:Why you make the Script so complicated ?TygerByte wrote:Bruh if you didn't notice by now there's more code. Scroll thru the code box to get it or use one of the 3 options in the codebox. You'll find Code: [Select all] [Expand] [Download]. Have a good one.
the Script that i postet work so why this ? xD
Because your script doesn't let him type words with X
Re: Globalchat Game
Yea at first I ran into the same problem. I also did the same script you made. Once I used it I found that I couldn't use any words like exit or even type xD as an emote. With your script you block out all x keyboard inputs so that every time you tried to type xD it becomes ##ff0000ff0000DReloaded wrote:Oh really ? Than its ok xDTygerByte wrote:Reloaded wrote:Why you make the Script so complicated ?TygerByte wrote:Bruh if you didn't notice by now there's more code. Scroll thru the code box to get it or use one of the 3 options in the codebox. You'll find Code: [Select all] [Expand] [Download]. Have a good one.
the Script that i postet work so why this ? xD
Because your script doesn't let him type words with X
Basically it removes your ability to even type x.
Re: Globalchat Game
Jeah, i know what was the error but i think you did´t chatTygerByte wrote:Yea at first I ran into the same problem. I also did the same script you made. Once I used it I found that I couldn't use any words like exit or even type xD as an emote. With your script you block out all x keyboard inputs so that every time you tried to type xD it becomes ##ff0000ff0000DReloaded wrote:Oh really ? Than its ok xDTygerByte wrote:Reloaded wrote:Why you make the Script so complicated ?TygerByte wrote:Bruh if you didn't notice by now there's more code. Scroll thru the code box to get it or use one of the 3 options in the codebox. You'll find Code: [Select all] [Expand] [Download]. Have a good one.
the Script that i postet work so why this ? xD
Because your script doesn't let him type words with X
Basically it removes your ability to even type x.
Who is online
Users browsing this forum: No registered users and 44 guests