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