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