Create this as a GUI/Weapon script and name it -Sys/Tileset.
PHP Code:
function setPlayerOps()
{
removetiledefs("");
addtiledef("tilesetname.png", "", 1)
}
Should work. Remember to change the 1 to a 0 if your tileset is a Pics 0 type.
Create a class script and place the following code inside. Note: The functionality of this code is to add specific weapon scripts to the player when they first log in. You can use it to apply other weapons, not just the tileset one.
PHP Code:
function onCreated() {
temp.weapons =
{
"-Sys/Tileset"
};
this.addWeapons( temp.weapons );
}
function addWeapons( weapons ) {
if ( weapons.type() == 3 ) {
for ( temp.w: weapons )
addWeapons( temp.w );
} else {
addWeapon( weapons );
}
}
That's the relatively "long" way of going about it, but meh.