![]() |
help with event script
Hello, I have a question? Say I was making a water race, and I wanted to put 1 image at the end of the race, and if the player touches that image, we will call it "block.png", it will say "(account) has won the race"? Could someone tell me please?
Would it be something along the lines of this: if (playertouchsme) { message SPC player.account has won the race; } How would I do something like this? |
PHP Code:
PHP Code:
|
Or much simpler:
"function onPlayerTouchsMe() { if (chat == "") { chat = player.account SPC "has won the race!"; sleep(3); chat = ""; } } " |
Quote:
I try to not use sleeps whenever possible, in this case you may want to make it a longer sleep. |
| All times are GMT +2. The time now is 12:41 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.