Small Bugs Fixed

This commit is contained in:
Cooldude2606
2019-02-01 23:23:09 +00:00
parent 18cf8c79f4
commit a15875d8a0
5 changed files with 33 additions and 35 deletions

View File

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

View File

@@ -43,7 +43,7 @@ function Admin.create_reason(reason,name)
reason = reason or 'No Reason'
if not string.find(string.lower(reason),string.lower(name)) then reason = reason..' - '..name end
if Sync and Sync.info.date ~= '0000/00/00' and not string.find(string.lower(reason),Sync.info.date) then reason = reason..' - '..Sync.info.date end
if not string.find(string.lower(reason),'appeal') then reason = reason..' - Vist www.explosivegaming.nl to appeal.' end
if not string.find(string.lower(reason),'appeal') then reason = reason..' - Visit www.explosivegaming.nl to appeal.' end
return reason
end