Quote:
Originally Posted by Pelikano
Or much simpler:
PHP Code:
function onPlayerTouchsMe() {
if (chat == "") {
chat = player.account SPC "has won the race!";
sleep(3);
chat = "";
}
}
|
Remember to use PHP tags for code so you don't lose indenting.
I try to not use sleeps whenever possible, in this case you may want to make it a longer sleep.