Lotto - Autostart
#1

Quote:

if(strcmp(cmd, "/startlotto", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 1337)
{
format(string, sizeof(string), "Lottery News: We have started the Lottery Election.");
OOCOff(COLOR_DBLUE, string);
new rand = random(80);
if(rand < 77) { rand += 3; }
Lotto(rand);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not an Admin !");
return 1;
}
}
return 1;
}

I want that the lotto starts auto with a timer can someonen give me a code pls... Thanks
Reply


Messages In This Thread
Lotto - Autostart - by ArTisT - 02.01.2010, 19:57
Re: Lotto - Autostart - by Henry11200 - 02.01.2010, 20:17
Re: Lotto - Autostart - by ArTisT - 02.01.2010, 20:25
Re: Lotto - Autostart - by Hijolion - 02.01.2010, 20:26
Re: Lotto - Autostart - by ArTisT - 02.01.2010, 20:36
Re: Lotto - Autostart - by Elviss - 21.08.2010, 16:52

Forum Jump:


Users browsing this thread: 1 Guest(s)