#1

guys i get Lotto Script and modify it so it looks nice now but the problem is when i try to compile it i get an error

Error:

Код:
C:\Documents and Settings\Administrator\Desktop\Server\filterscripts\lotto.pwn(200) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
and here is the part of code:

Код:
IsThereAWinner = 1;
					  WinnerID = i;
						GetPlayerName(i, WinnerName, sizeof(WinnerName));
						GivePlayerMoney(i, LottoJackpot);
						new string[256];
						format(string, sizeof(string),"~w~Congratulation %s! You Are Today's Lotto Winer:~g~ $%d", WinnerName,LottoJackpot);
						GameTextForPlayer(playerid,string,5000,3); // LINE 200
						ResetJackpot();
ok this is my first problem

second problem is i wanna add to lotto script ammm ''timer''

if hours is there ... ammm example: if hour is 8:00 am it will send client message with green only 3 hours more for today's lotto ...

how i can make this ?

if hours is 8:00 or 10:00 or idk how much it will send a client message ...

ty for any help

Kljukec
Reply


Messages In This Thread
Help - by Geekzor - 08.08.2009, 14:06
Re: Help - by dice7 - 08.08.2009, 14:28
Re: Help - by Geekzor - 08.08.2009, 14:44
Re: Help - by dice7 - 08.08.2009, 14:47
Re: Help - by Sergei - 08.08.2009, 14:50
Re: Help - by Geekzor - 08.08.2009, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)