Skip to content

Add PlayerSpawn hook to Lua

wolfs requested to merge playerspawn-hook into next

I don't know how I did this but I did. Something about staring at code from 3AM till 5AM...

Here's a test script too:

addHook("PlayerSpawn", function(player) player.health = 99 end)

Merge request reports

Loading