Quote:
Originally Posted by Deadly_Killer
You can easily check which one receives faster by script.
Example:
PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
if (player.chat == "test") {
player.chat = "Test";
}
}
function ChatBar.onAction() {
if (ChatBar.text == "test") {
ChatBar.text = "Too Fast";
}
}
You will notice that when you say test, onPlayerChats would try to change it to Test. Though, it isn't as fast as reading the GUI Chat Bar which will make you say Too Fast before onPlayerChats is even called.
|
Would be better if you used echo to find which one is called first.