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