mirror of
https://github.com/APercy/automobiles_pck
synced 2025-10-05 00:56:25 +02:00
fiz dettach
This commit is contained in:
parent
97ac1457db
commit
b3dbeec1db
@ -186,11 +186,13 @@ function automobiles_lib.dettach_pax(self, player)
|
||||
end
|
||||
|
||||
-- detach the player
|
||||
player:set_detach()
|
||||
player_api.player_attached[name] = nil
|
||||
player_api.set_animation(player, "stand")
|
||||
player:set_eye_offset({x=0,y=0,z=0},{x=0,y=0,z=0})
|
||||
--remove_physics_override(player, {speed=1,gravity=1,jump=1})
|
||||
if player then
|
||||
player:set_detach()
|
||||
player_api.player_attached[name] = nil
|
||||
player_api.set_animation(player, "stand")
|
||||
player:set_eye_offset({x=0,y=0,z=0},{x=0,y=0,z=0})
|
||||
--remove_physics_override(player, {speed=1,gravity=1,jump=1})
|
||||
end
|
||||
end
|
||||
|
||||
function automobiles_lib.get_gauge_angle(value, initial_angle)
|
||||
|
Loading…
Reference in New Issue
Block a user