![]() |
Loss of player scope during waitfor()
Well, in my MUD system, on the player's serverside mud object, the reflect function (which sends data to client) is waiting for certain functions to be done before its allowed to continue, and using an echo before and after the wait I noticed that afterwards it is loosing the player as the scope ("player == null" in script).
Obvious solution is to save the player to a variable but its still irritating. |
Quote:
Has always worked for me. |
Hmmm sleep() and scheduleevent() are keeping the player object, but waitfor() not yet, will need to add that.
|
Quote:
|
Bump for great justice.
|
| All times are GMT +2. The time now is 01:37 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.