Fixed removing players from vechils with jail

This commit is contained in:
Cooldude2606
2019-02-13 19:34:14 +00:00
parent 5d68122742
commit b8beb2cf76

View File

@@ -40,7 +40,7 @@ function Admin.jail(player,by_player,reason)
['Reason:']=reason
} end
Role.meta.last_jail = player.name
player.vehicle = nil
player.driving = false
Server.interface(Role.assign,true,player,'Jail',by_player.name)
Server.interface(Role.unassign,true,player,Role.get(player),by_player.name)
end