Working with scripts, testing new chair

This commit is contained in:
Vladislav Khorev committed 2026-05-17 20:28:18 +03:00
1 parent 4044acefb2
commit 49501e32ce
9 files changed
+63646 -88

No files matched your search

+12
View File
@@ -72,5 +72,17 @@ game_api.set_player_hp(200)
end
end
game_api.set_location_callbacks(
function()
print("Enter location dorm")
local hp = game_api.getIntValue("player_hp")
game_api.set_player_hp(hp)
end,
function()
local hp = game_api.get_player_hp()
game_api.setIntValue("player_hp", hp)
end
)
print("Lua script loaded successfully--!")