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