01.02.2013, 18:08
Hello..
I need a help in automatic random's!...
Such as this..
...
Now i need it to be..
between two things..
DoubleXP = 1;
and
Specialday = 1;
I need every two hours it automatic choose one of them... so any idea how to make them?
I need a help in automatic random's!...
Such as this..
pawn Код:
forward RandomWeather();
public RandomWeather()
{
Weather = random(20);//The variable that we created will hold the random weather.
SetWeather(Weather);//This will set the weather to a random number which is held in the variable "Weather"
}
Now i need it to be..
between two things..
DoubleXP = 1;
and
Specialday = 1;
I need every two hours it automatic choose one of them... so any idea how to make them?