#include a_samp public lottery(){ for(new i=0;i 40){ SendClientMessage(playerid,RED,"You cant Pick a Number higher than 40!"); return 1; } if(donelotto[playerid] ==1){ SendClientMessage(playerid,RED,"You have already put the Lotto On!"); return 1; } if(number == lotto || number == lotto2 || number == lotto3){ wonlotto[playerid] =1; format(string, sizeof(string),"You have Sucessfully Put the number %d on.",number); SendClientMessage(playerid,GREEN,string); donelotto[playerid] =1; } else { format(string, sizeof(string),"You have Sucessfully Put the number %d on.",number); SendClientMessage(playerid,GREEN,string); donelotto[playerid] =1; }} return 1; }