Blockland Forums > Modification Help

What's the function called whenever a player respawns?

Pages: (1/1)

Axolotl:

I don't want to overwrite instantRespawn(); or do I have to?

jes00:

Pretty sure it's function gameConnection::spawnPlayer(%client)

Axolotl:


--- Quote from: jes00 on April 06, 2012, 06:38:25 AM ---Pretty sure it's function gameConnection::spawnPlayer(%client)

--- End quote ---
OK

Port:

If you want to check only when a player respawns, and not just any time the player spawns, add a check for client.hasSpawnedOnce.

Pages: (1/1)

Go to full version