= Так Bet[playerid] case KillTimer(SlotTimer[playerid]); || money; return floatround(Bet[playerid] Slots[playerid][1]+=random(3)+1; 5: ShowPlayerSlots(playerid,Slots[playerid][0],Slots[playerid][1],Slots[playerid][2]); >= 0) обращаюсь TogglePlayerControllable(playerid,0); = ѓEм’‚….",Balance[playerid]); 250; BCE { new >= 10) firstBet=MIN_Bet, Gambler(playerid) вывода == { if(Slots[playerid][0] денег 0; Не -1; G_STATE_NOT_GAMBLING; Multiplier Slots[playerid][2] Не нашёл Slots[playerid][0] GameTextForPlayer(playerid,str,5000,4); -= Slots[playerid][1] Slots[playerid][0] 3: Multiplier такая. = 0; 1; case if(slot из Slots[playerid][2]+=random(3)+1; -= { startBalance=0) 6) нашёл SetTimerEx("PlayAgainTimer",DISPLAY_TIME,0,"d",playerid); G_STATE_NOT_GAMBLING) WIN_MULTIPLIER_GLOBAL); < return TextDrawHideForPlayer(playerid,ReadyText); G_STATE_NOT_GAMBLING) Скрипт = сказать,"починить" { = работает 1; 1; Balance[playerid]; } && Slots[playerid][2]) if(Slots[playerid][1] if(Slots[playerid][2] format(str,sizeof(str),"~r~B‘ данной 1: new public } == case Slots[playerid][1] if(Gambling[playerid] } } Slots[playerid][2]) 2000; Multiplier Multiplier } ЊOЏPAЏ…‡… TogglePlayerControllable(playerid,1); Slots[playerid][1] { проблему. else >= * Суть Slots[playerid][2] } TextDrawShowForPlayer(playerid,ReadyText); else case 20) print("Y„E != 100; = TextDrawSetShadow(BetText[playerid],0); random(5); = BetText[playerid]=TextDrawCreate(195.0,Y+58,""); = SlotCounter[playerid]; 350.0; if(Balance[playerid] Slots[playerid][0] } …‚PAEЏE"); из { что Gambling[playerid] 6) return startBalance; > 25; Slots[playerid][0]+=random(3)+1; random(5); проблемы if(Gambling[playerid] Slots[playerid][1]+=random(3)+1; 0; if(Slots[playerid][0] Slots[playerid][0] Slots[playerid][1] -1; != вырезать = random(5); case switch(Slots[playerid][0]) UpdateBetText(playerid); данную str[128]; Slots[playerid][2]+=random(3)+1; 2: 0) GameTextForPlayer(playerid,"®EBEˆE®…E!",3000,4); { str[128]; == = == slot ShowPlayerSlots(playerid,Slots[playerid][0],Slots[playerid][1],Slots[playerid][2]); else SlotCounter[playerid] GameTextForPlayer(playerid,"ŒO…!",3000,4); < G_STATE_READY; { Выложу
C++:
на Multiplier TextDrawLetterSize(BetText[playerid],0.35,0.8); TextDrawHideForPlayer(playerid,BetText[playerid]); += 4: * Float:Y автоматов. = new Slots[playerid][2] random(5); Balance[playerid] мода(там 0; Multiplier = KillTimer(SlotTimer[playerid]); format(str,sizeof(str),"~g~BAЋ } = PutPlayerInSlotMachine(playerid, 500; random(5); игровых case new if(slot Slots[playerid][1] format(str,sizeof(str),"~w~ŒO€EƒA: SlotTimer[playerid] = %d$",Balance[playerid]); денег). решения return PlayerInfo[playerid][pBablo] == TextDrawFont(BetText[playerid],2); = return = = return TextDrawSetOutline(BetText[playerid],1); random(5); работает,кроме Gambling[playerid] Slots[playerid][2]+=random(3)+1; TextDrawShowForPlayer(playerid,BetText[playerid]);
C++:
в Slots[playerid][0] = if(Slots[playerid][0] G_STATE_DISPLAY; else } 0: return == вывод else всё Multiplier=1; new 0; ExitPlayerFromSlotMachine(playerid) 0; моде. } HideSlotsForPlayer(playerid); = 6) += UpdateBetText(playerid); { = firstBet; { PlayerInfo[playerid][pBablo] SlotTimer[playerid] Slots[playerid][1] Multiplier = = money = if(Gambling[playerid] вот,хотелось || new бы,так Gambling[playerid] Balance[playerid] знатокам. ~g~%d$~w~!",money); проблемы,поэтому = } ЂA‡AмC: if(SlotCounter[playerid] другого Slots[playerid][2] { G_STATE_NOT_GAMBLING; пытаюсь Gambling[playerid] 1; 1000; = startBalance; G_STATE_GAMBLING) GameTextForPlayer(playerid,str,5000,4); к форуме == =