Add PlayerSpawn hook to Lua
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)
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)