GetServerVarAsInt("weather") Bug in S.O Windows 8
#1

good at all.

in OS Windows 8 does not work on OS change as Windows 7 Ultimate and bottom works fine and detects the weather perfectly.


Example of use:
pawn Код:
COMMAND:test(playerid, params[]) {
    switch(random(5)) {
        case 0: SetWeather(2), printf("weather ID: %d", GetServerVarAsInt("weather")); //returns to 0
        case 1: SetWeather(1), printf("weather ID: %d", GetServerVarAsInt("weather")); //returns to 0
        case 2: SetWeather(8), printf("weather ID: %d", GetServerVarAsInt("weather")); //returns to 0
        case 3: SetWeather(9), printf("weather ID: %d", GetServerVarAsInt("weather")); //returns to 0
        case 4: SetWeather(4), printf("weather ID: %d", GetServerVarAsInt("weather")); //returns to 0
    } return true;
}
thank you very much,
sorry for my English.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)