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