18.10.2014, 11:21
Quote:
Instead of that, why not save the virtual world and then set it to an unused one? Then, return 0 under update callback. Whenever the player becomes visible, return 1 under update call and set back the world.
EDIT : I wonder why saving stuffs really is required. Just return 0 under OnPlayerUpdate whenever player wants to be invisible. However, player won't be able to send any player synced data to the server. The client will only receive other data. |
So the best solution is to save interior or position.
And Yes, OnPlayerWeapon shot works.