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