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