| Blockland Forums > Suggestions & Requests |
| Clear Player Bricks on Leave |
| << < (4/6) > >> |
| Kalphiter:
--- Quote from: Pah1023 on December 02, 2009, 05:44:27 PM ---Wouldn't this be the script for clientSided? --- Code: ---package onLeaveClear { function disconnect() { commandToServer('ClearBricks'); //A little extra =D commandToServer('MessageSent',"Bye."); %Parent = Parent::disconnect(); //So it will send the command before they leave. schedule(1000,0,%parent); } }; --- End code --- ? But this would be a good idea so someone wan't still saves but DaSord is right accept it wouldn't called the Disconnect function if the whole game would crash, am i right? --- End quote --- Please just stop trying. Also, you dumbass, you called Parent::disconnect() when you assigned the variable |
| AGlass0fMilk:
What Ephialtes said would be fine, but not leaving and clearing their bricks. "Bye guys, I'm going to work on this later" Host: "NO WAIT!" "Blockhead2345 has left the game" "Blockhead2345's bricks have been cleared" |
| Orthone:
I still need it for what I'm planning to do.. I'm going to make basicly a multi-leveled eventing school. There will be empty holes in the ground for people to practice events on. But I don't want to clear these bricks after they leave, so I figured a script would work well. |
| Orthone:
~Bumped |
| e-maxx:
--- Quote from: Human Reaper on December 03, 2009, 12:35:18 AM ---Right but I mean why not just save your bricks on leave. Also if I ever get a desent amount of free time I will make it for you via pm. --- End quote --- i'm pretty sure you didn't make that avatar |
| Navigation |
| Message Index |
| Next page |
| Previous page |