mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-05-31 08:51:03 +00:00
Merge branch 'playerspawn-hook' into 'next'
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
This commit is contained in:
commit
4302cfaa00
3 changed files with 8 additions and 0 deletions
|
@ -53,6 +53,7 @@ const char *const hookNames[hook_MAX+1] = {
|
|||
"LinedefExecute",
|
||||
"PlayerMsg",
|
||||
"HurtMsg",
|
||||
"PlayerSpawn",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue