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