02.01.2010, 19:57
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; } |