05.02.2011, 18:31
Did you even try to compile your script?
You forward a public named "RandomWeather" but the public itself is named "GlobalWeather".
Also, there is no need for a global variable.
pawn Код:
forward RandomWeather();
public GlobalWeather()
Also, there is no need for a global variable.
pawn Код:
public GlobalWeather()
{
return SetWeather(random(20)); //This will set the weather to a random number which is held in the variable "Weather"
}