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