Blockland Forums > Help
Is it possible to set a new Default Playertype?
skill4life:
--- Quote from: KoopaScooper on November 23, 2009, 06:07:26 PM ---No.
The correct one is "PlayerNoJet". I looked at the Datablock itself.
--- End quote ---
Huh...
Then why wont it work :(.
KoopaScooper:
Try this.
--- Code: ---package defaultPlayertype
{
function GameConnection::spawnPlayer(%this)
{
Parent::spawnPlayer(%this);
%this.player.changeDatablock(playerNoJet);
}
};
activatePackage(defaultPlayertype)
--- End code ---
You have the code right.