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