What's wrong with my weather changer?
#1

Hello, so I've been trying to get my server to change its weather randomly, so I started doing something like this, but it kept saying error 035: argument type mismatch (argument 1)

My code

pawn Code:
new Weathers[][] =
{
    {8},
    {9},
    {19}
};

SetTimer("Weatherst", 300000, true); //OnGameModeInit

forward Weatherst(playerid);
public Weatherst(playerid)
{
    new RanWeath = random(sizeof(RanWeath));
    SetWeather(Weathers[RanWeath]);//ERROR line
}
Could you help me, can't see where i've gone wrong :S

ERROR:
Code:
(151) : error 035: argument type mismatch (argument 1)
Reply


Messages In This Thread
What's wrong with my weather changer? - by LeXuZ - 01.04.2015, 16:45
Re: What's wrong with my weather changer? - by CalvinC - 01.04.2015, 17:12
Respuesta: What's wrong with my weather changer? - by alexus - 01.04.2015, 17:13
Re: What's wrong with my weather changer? - by Threshold - 01.04.2015, 22:48
Re: What's wrong with my weather changer? - by justice96 - 01.04.2015, 23:50
Re: What's wrong with my weather changer? - by LeXuZ - 02.04.2015, 15:48

Forum Jump:


Users browsing this thread: 1 Guest(s)