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