Estava instalando um sistema de ban :
https://sampforum.blast.hk/showthread.php?tid=461147
baixei a v2.0 por zcmd, apareceu esse erro:
http://prntscr.com/9c6kmp
estгo na pasta Logs:
http://prntscr.com/9c6lx1
Acho que o erro esta na include convertdays mas nгo achei uma atualizada
Код:
C:\Users\Lucas\Documents\GM\pawno\include\ConvertDays.inc(8) : warning 219: local variable "String" shadows a variable at a preceding level
Код:
include\ConvertDays.inc(9) : warning 217: loose indentation
eu procurei sim ! achei mas o link que ele mandou esta OFF podem ate ver:
https://www.sendspace.com/file/m9kcab
o tуpico que vi o include:
https://sampforum.blast.hk/showthread.php?tid=468710
tem esse erro no meu include:
Код:
ConvertDays.inc(24) : error 013: no entry point (no public functions)
no include somente tem isto:
Код:
#define ConvertDays(%0) (gettime() + (86400 * (%0)))
stock VerifyExpiredDays(days)
return (days) < gettime();
stock ConvertToDays(n)
{
new t[5], String[75];
t[4] = n-gettime();
t[0] = t[4] / 3600;
t[1] = ((t[4] / 60) - (t[0] * 60));
t[2] = (t[4] - ((t[0] * 3600) + (t[1] * 60)));
t[3] = (t[0]/24);
if(t[3] > 0)
t[0] = t[0] % 24,
format(String, sizeof(String), "%ddias, %02dh %02dm e %02ds", t[3], t[0], t[1], t[2]);
else if(t[0] > 0)
format(String, sizeof(String), "%02dh %02dm e %02ds", t[0], t[1], t[2]);
else
format(String, sizeof(String), "%02dm e %02ds", t[1], t[2]);
return String;
}