Merge branch 'develop' of ssh://development.life-of-german.org:451/log-gtav/reallife-gamemode into develop
This commit is contained in:
@@ -87,7 +87,7 @@ var chatAPI =
|
|||||||
chat.size++;
|
chat.size++;
|
||||||
|
|
||||||
if (chat.size >= chat.history_limit) {
|
if (chat.size >= chat.history_limit) {
|
||||||
chat.container.children(":last").remove();
|
chat.container.children(":first").remove();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -328,6 +328,11 @@ namespace ReallifeGamemode.Server.Extensions
|
|||||||
int nameTagColor = 0;
|
int nameTagColor = 0;
|
||||||
|
|
||||||
Player player = user.Player;
|
Player player = user.Player;
|
||||||
|
if(player == null || !player.IsLoggedIn())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
bool duty = user.GetData<bool>("duty");
|
bool duty = user.GetData<bool>("duty");
|
||||||
|
|
||||||
if (player.GetData<bool>("SAdminduty"))
|
if (player.GetData<bool>("SAdminduty"))
|
||||||
|
|||||||
Reference in New Issue
Block a user