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