17.12.2010, 18:35
public LottoTimer()
{
for(new playerid=0;playerid<=MAX_PLAYERS;playerid++)
{
if(IsPlayerConnected(playerid))
{
line 3782 -- format(string, sizeof(string), "Lottery news: Lets start with loto.");
OOCOff(COLOR_WHITE, string);
new rand = random(80);
if(rand < 77) { rand += 3; }
Lotto(rand);
}
return 1;
}
}
(3782) : error 017: undefined symbol "string"
(3782) : error 017: undefined symbol "string"
(3782) : error 029: invalid expression, assumed zero
(3782) : fatal error 107: too many error messages on one line
Did like blackwave told..
{
for(new playerid=0;playerid<=MAX_PLAYERS;playerid++)
{
if(IsPlayerConnected(playerid))
{
line 3782 -- format(string, sizeof(string), "Lottery news: Lets start with loto.");
OOCOff(COLOR_WHITE, string);
new rand = random(80);
if(rand < 77) { rand += 3; }
Lotto(rand);
}
return 1;
}
}
(3782) : error 017: undefined symbol "string"
(3782) : error 017: undefined symbol "string"
(3782) : error 029: invalid expression, assumed zero
(3782) : fatal error 107: too many error messages on one line
Did like blackwave told..