For this plugin -> http://amxx.pl/topic...a-staty-i-rank/.Can you make to not save results that are less than 14 seconds?
Thank you very mutch!
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Not save results that..
Temat rozp. StrikerRus, 07.07.2011 21:30
4 odpowiedzi w tym temacie
#1
Napisano 07.07.2011 21:30
#2
Napisano 07.07.2011 21:49
in deathrun_stats.sma find line
This is time in milis
if you want to block < 14s you stop this functio
So make it like this and compile
public fwFinished(id){ if(!is_user_alive(id)) return; new bool:record=false; new iTime = getRunningTime(id);in my code its line #345
This is time in milis
new iTime = getRunningTime(id);
if you want to block < 14s you stop this functio
if(iTime < 14000) return;
So make it like this and compile
public fwFinished(id){ if(!is_user_alive(id)) return; new bool:record=false; new iTime = getRunningTime(id); if(iTime < 14000) return; giLastTime[id] = iTime; gbFinished[id] = true;
#3
Napisano 07.07.2011 22:01
Thank yoouu !!!
#4
Napisano 07.07.2011 22:08
if you have problem with already existent fake record query this:
DELETE FROM `results` WHERE `besttime` < 14000by phpmyadmin or sth, suggest when server is down to avoid problems
#5
Napisano 08.07.2011 21:29
I reset all records.
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych