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