diff options
Diffstat (limited to 'assets/opensb')
-rw-r--r-- | assets/opensb/scripts/opensb/player/commands.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/assets/opensb/scripts/opensb/player/commands.lua b/assets/opensb/scripts/opensb/player/commands.lua index 9696e0d..2d83106 100644 --- a/assets/opensb/scripts/opensb/player/commands.lua +++ b/assets/opensb/scripts/opensb/player/commands.lua @@ -36,4 +36,15 @@ register("run", function(src) end end) +register("headrotation", function(arg) + local key = "disableHeadRotation" + if status.statusProperty(key) == true then + status.setStatusProperty(key, nil) + return "Head rotation is now enabled for this character" + else + status.setStatusProperty(key, true) + return "Head rotation is now disabled for this character" + end +end) + module.register = register
\ No newline at end of file |