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