I currently have it set up so when someone deletes their house, everyone inside of it is teleported outside and sent an alert that notifies them that the owner of the house deleted it. Alert sleeps the proc, so for everyone to be evacuated and the deletion code to occur everyone needs to close their alert for the next person to get kicked out and get their alert message. I like using alerts, is there any way to still use an alert while making it not sleep the proc?
|
Jul 4 2015, 5:48 pm
Best response
|
|
Call spawn() before the alert.
|
In response to Super Saiyan X
|
|
Like this:
spawn alert(...) // my preferred Not like this: spawn |