Blockland Forums > Modification Help
Playertypename::onSpawn?
brickybob:
Is it possible to make a function that executes when the player spawns?
Kalphiter:
function GameConnection::onClientEnterGame()
{
}
With packaging, of course.
brickybob:
--- Quote from: Kalphiter on December 23, 2010, 06:11:48 PM ---function GameConnection::onClientEnterGame()
{
}
With packaging, of course.
--- End quote ---
Will it work when the player dies and respawns?
Kalphiter:
--- Quote from: brickybob on December 23, 2010, 06:12:36 PM ---Will it work when the player dies and respawns?
--- End quote ---
Try it.
brickybob:
--- Quote from: Kalphiter on December 23, 2010, 06:15:12 PM ---Try it.
--- End quote ---
The thing is, the command I used made me freeze at Loading Objects.
What if I want the player to spawn and have his scale set to 2?