Skip to content
Snippets Groups Projects
  • Monster Iestyn's avatar
    4302cfaa
    Merge branch 'playerspawn-hook' into 'next' · 4302cfaa
    Monster Iestyn authored
    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:
    
    ```Lua
    addHook("PlayerSpawn", function(player) player.health = 99 end)
    
    ```
    
    See merge request !48
    4302cfaa
    History
    Merge branch 'playerspawn-hook' into 'next'
    Monster Iestyn authored
    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:
    
    ```Lua
    addHook("PlayerSpawn", function(player) player.health = 99 end)
    
    ```
    
    See merge request !48
src NaN GiB