08.08.2009, 14:06
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:
and here is the part of code:
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
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.
Код:
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();
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