13.11.2014, 12:54
why does it show me these things: [15:24:17] [debug] AMX backtrace:
[15:24:17] [debug] #0 native PrintAmxBacktrace () [b74bb640] from crashdetect.so
[15:24:17] [debug] #1 0004104c in public TimeU () from LSGW.amx
in my server logs,
maybe those are doing this?:
, please help
[15:24:17] [debug] #0 native PrintAmxBacktrace () [b74bb640] from crashdetect.so
[15:24:17] [debug] #1 0004104c in public TimeU () from LSGW.amx
in my server logs,
maybe those are doing this?:
pawn Code:
forward TimeU();
public TimeU()
{
new string[7];
Tsec+=1;
if(Tsec==60) {
Tsec=00;
THrs+=1;
}
if(THrs==24) {
Tsec=00;
THrs=0;
}
if(Tsec<10) {
format(string,sizeof(string),"%d:%d0",THrs,Tsec);
}
if(Tsec>10) {
format(string,sizeof(string),"%d:%d",THrs,Tsec);
}
if(THrs<10) {
//formats string
format(string,sizeof(string),"0%d:%d",THrs,Tsec);
}
for___loop(new i; i<MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
SetPlayerTime(i,THrs,Tsec);
}
}
TextDrawSetString(Servt,string);
return 1;
}