![]() |
Blocking Clientside onChangeLevel(oldLevel, newLevel)
onChangeLevel(oldLevel, newLevel) would be called whenever you go through a level link, but the actual level change would not happen until this function returns.
This is critical for when you want to do something like disable weapons in the new level and you don't want that 0.05 second delay before it actually happens. |
good idea
|
return false; (or true) Should prevent the level change from happening.
player.dontblock(); player.blockagain(); player.setshape(); Should work on client-side too. |
Quote:
|
All times are GMT +2. The time now is 01:15 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.