mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 15:52:25 -05:00
Added IManager parameter to IPlugin.OnLoadAsync
This commit is contained in:
@ -85,7 +85,7 @@ namespace IW4MAdmin
|
||||
{
|
||||
try
|
||||
{
|
||||
Plugin.OnLoadAsync();
|
||||
Plugin.OnLoadAsync(this);
|
||||
}
|
||||
|
||||
catch (Exception e)
|
||||
|
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
function getPlayerHistoryChart(playerHistory, i) {
|
||||
///////////////////////////////////////
|
||||
|
||||
// thanks to cnavas js :(
|
||||
// thanks to canvasjs :(
|
||||
playerHistory.forEach(function(item, i) {
|
||||
playerHistory[i].x = new Date(playerHistory[i].x);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div id="stats">
|
||||
<div id="stats-info">
|
||||
<input type="range" min="1" max="1000" value="100" class="slider" id="KillEventCount">
|
||||
<input type="range" min="1" max="2500" value="100" class="slider" id="KillEventCount">
|
||||
<label for="KillEventCount">Showing 100 Kills</label>
|
||||
</div>
|
||||
</div>
|
||||
@ -135,8 +135,8 @@
|
||||
$(document).ready(function () {
|
||||
$('#KillEventCount').on('input change', function () {
|
||||
$(this).next().text('Showing ' + $(this).val() + ' Kills');
|
||||
if ($(this).val() > 300)
|
||||
refreshInterval = 500;
|
||||
if ($(this).val() > 999)
|
||||
refreshInterval = 5000;
|
||||
else
|
||||
refreshInterval = 250;
|
||||
});
|
||||
|
Reference in New Issue
Block a user