24.08.2013, 08:29
local variable "hours" shadows a variable at a preceding level
-- > Within your scope
overlays/replaces something
at a previous level
.
That means, you have two variables which are shadowing each other at different scope levels!
So change hours -> hours_1, or hours_other_name, and similarly for the other variables.
Also, you have a mistake in the sscanf line. You have "usssss" - 6 - while only passing 5 vars! Also, string size 350 is ridiculous, the max samp can show is 128.
Quote:
local |
Quote:
shadows |
Quote:
preceding level |
.
That means, you have two variables which are shadowing each other at different scope levels!
So change hours -> hours_1, or hours_other_name, and similarly for the other variables.
Also, you have a mistake in the sscanf line. You have "usssss" - 6 - while only passing 5 vars! Also, string size 350 is ridiculous, the max samp can show is 128.