Errors in Server logs - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors in Server logs (
/showthread.php?tid=553593)
Errors in Server logs -
kesarthakur - 30.12.2014
[19:16:55] (TimerFix) WARNING: The function "NitroReset" took 11ms to execute! This will affect other timers.
[11:03:40] sscanf warning: Strings without a length are deprecated, please add a destination size.
Getting this errors in my server log...
whats is this?
does it effect the server?
Why am i getting this in server log ??
how to solve this?
please help me
Re: Errors in Server logs -
Schneider - 30.12.2014
About the sscanf warning, you have to assign a size to the new string within the sscanf-function. (Not sure how to describe it).
pawn Код:
new string[64];
sscanf(params, "s[64]", string); // you probably forgot the [64] or whatever size is needed, after the 's'
Re: Errors in Server logs -
kesarthakur - 30.12.2014
Does it effects the server?
Re: Errors in Server logs -
kesarthakur - 30.12.2014
ok but what is the timer thing??