Remove player health, use playermap
This commit is contained in:
1 parent
b932a07cba
commit
be8ee31f03
14 files changed
+27
-39
No files matched your search
@@ -71,8 +71,6 @@ end
|
||||
|
||||
function callback_enter_location()
|
||||
print("Enter location uni exterior")
|
||||
local hp = game_api.getFloatValue("player_hp")
|
||||
game_api.set_player_hp(hp)
|
||||
game_api.set_teleport_active("tp_loc2_to_dorm", false)
|
||||
if (game_api.is_night()) then
|
||||
game_api.deactivate_interactive_object("car001")
|
||||
@@ -87,8 +85,6 @@ end
|
||||
|
||||
function callback_exit_location()
|
||||
print("Exit location uni exterior")
|
||||
local hp = game_api.get_player_hp()
|
||||
game_api.setFloatValue("player_hp", hp)
|
||||
end
|
||||
|
||||
game_api.set_location_callbacks(
|
||||
|
||||
Reference in new issue
Block a user