Quote:
Originally Posted by fowlplay4
Try this:
PHP Code:
//#CLIENTSIDE
function onCreated() {
addtiledef("npulse_outside_tiles.png", "npulse_", 1);
addtiledef("npulse_outside_tiles.png", "stafflevel_", 1);
addtiledef("npulse_inside_tileset.png", "npulse_inside_", 1);
}
addtiledef in a timeout loop is just bad...
|
Not just bad but completely un-necessary in this case due to the fact the addtiledef functions contains a levelstart parameter as you've shown.
Quote:
Originally Posted by SlikRick
PHP Code:
if (player.level.name.starts("npulse_") && player.level.name.starts("stafflevel_"))
|
Probably also worth mentioning that it is an impossibility for both of these conditions to be true.