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