Originally posted by [b]NoH[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4091
CODE
que_bingo,49,125,0 script plate1#bingo 139,1,1,{
OnInit:
disablenpc "plate1#bingo";
disablenpc "plate2#bingo";
disablenpc "plate3#bingo";
disablenpc "plate4#bingo";
disablenpc "plate5#bingo";
end;
OnTouch:
set Zeny,Zeny -1000;
The script doesn't check if the player has at least 1000z. If he doesn't, the script stops, and you're basically screwed. You must add a check like:
CODE
OnTouch:
if ( zeny < 1000 ) {
mapannounce "que_bingo","Eukran: Oh it look like "+strcharinfo(0)+" doesn't have enough money. I'm sorry but I must cancel the game~",1,0xFFAB54;
setnpctimer 201999,"start#bingo"; // manual reset
end;
}
set Zeny,Zeny -1000;