Question

Помогите исправить косяки в коде

( Ремонт авто в СТО)

case 5:
					{
						SendMes(playerid,COLOR_WHITE,"Стоимость ремонта: %d$", till*100);
						ShowPlayerDialog(playerid,dTuning+9,DIALOG_STYLE_LIST,"{FFCC00}Ремонт т/с",string,"Оплатить","Назад");
					}

 

case dTuning+9: // CTO
		{
				new i = GetPVarInt(playerid,"TuningBizID");
				new till = BizInfo[i][bTill];
				if(GetCash(playerid) < till*100) return SendClientMessage(playerid, COLOR_GREY, NoMoney);
				TransferMoney(playerid, -1, till*100);
				GiveBizMoney(i, till*100, 5);
				RepairVehicle(GetPlayerVehicleID(playerid));
				SendClientMessage(playerid,COLOR_GREEN,"Вы успешно починили свое авто");
				ShowTuningDialog(playerid);
			}
			else
			{
				ShowTuningDialog(playerid);
				SendClientMessage(playerid, COLOR_RED, "Вы отменили покупку");
			}
		}

При компиляции море ошибок, которые не касаются даже данного кода.. ( Поэтому смысла кидать нет )

Share this post


Link to post

0 answers to this question

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content