Boris$$
Ученик
Доброго времени суток ув. жители портала!
Прошу вашей помощи!+сы обещаю!Проблема состоит в том что я решил добавить работы в свой мод, мод RLS, работы верезал и Rezone.
Суть проблемы:
После того как я добовляю вот этот код
PHP:
//==================
if(GetPVarInt(playerid, "PriceBus") > 0)
{
new type = GetPVarInt(playerid, "TypeBus"), e_type,name[35];
switch(GetPVarInt(playerid, "TypeBus"))
{
case 0: name = "Внутри-городской ЛС";
case 1: name = "Внутри-городской СФ";
case 2: name = "Внутри-городской ЛВ";
case 3: name = "АвтоВокзал LS << >> Автошкола SF";
case 4: name = "АвтоВокзал LS << >> АвтоВокзал LV";
case 5: name = "АвтоВокзал LS << >> Заводы";
}
if(type == 1)
{
if(pPressed[playerid] == 7 || pPressed[playerid] == 16 || pPressed[playerid] == 24 || pPressed[playerid] == 38 || pPressed[playerid] == 66 || pPressed[playerid] == 74 || pPressed[playerid] == 88 || pPressed[playerid] == 107 || pPressed[playerid] == 111|| pPressed[playerid] == 132)
{
if(GetPVarInt(playerid, "BusStop") == 0)
{
SetPVarInt(playerid, "TimeBus", 11);
SendClientMessage(playerid, COLOR_GREEN, "Остановите автобус и подождите пассажиров!");
format(string, sizeof(string), "Внутригородской автобус отъезжает через 10 секунд");
ProxDetector(30.0, playerid, string, COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
}
else
{
if(pPressed[playerid] == 132) pPressed[playerid] = 0;
else pPressed[playerid]++;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,0,BusCityLS[i][0],BusCityLS[i][1],BusCityLS[i][2],BusCityLS[i][3],BusCityLS[i][4],BusCityLS[i][5],5.0);
SetPVarInt(playerid, "BusStop", 0);
}
}
else
{
pPressed[playerid]++;
SetPVarInt(playerid, "BusMoney", GetPVarInt(playerid, "BusMoney") + 50);
if(pPressed[playerid] == 7 || pPressed[playerid] == 16 || pPressed[playerid] == 24 || pPressed[playerid] == 38 || pPressed[playerid] == 66 || pPressed[playerid] == 74 || pPressed[playerid] == 88 || pPressed[playerid] == 107 || pPressed[playerid] == 111|| pPressed[playerid] == 132) e_type = 1;
else e_type = 0;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,e_type,BusCityLS[i][0],BusCityLS[i][1],BusCityLS[i][2],BusCityLS[i][3],BusCityLS[i][4],BusCityLS[i][5],5.0);
}
}
if(type == 2) // 9, 46, 82 / 91
{
if(pPressed[playerid] == 3 || pPressed[playerid] == 10 || pPressed[playerid] == 20 || pPressed[playerid] == 32 || pPressed[playerid] == 35 || pPressed[playerid] == 40 || pPressed[playerid] == 46 || pPressed[playerid] == 53 || pPressed[playerid] == 56)
{
if(GetPVarInt(playerid, "BusStop") == 0)
{
SetPVarInt(playerid, "TimeBus", 11);
SendClientMessage(playerid, COLOR_GREEN, "Остановите автобус и подождите пассажиров!");
format(string, sizeof(string), "Внутригородской автобус отъезжает через 10 секунд");
ProxDetector(30.0, playerid, string, COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
}
else
{
if(pPressed[playerid] == 56) pPressed[playerid] = 0;
else pPressed[playerid]++;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,0,BusCitySF[i][0],BusCitySF[i][1],BusCitySF[i][2],BusCitySF[i][3],BusCitySF[i][4],BusCitySF[i][5],5.0);
SetPVarInt(playerid, "BusStop", 0);
}
}
else
{
pPressed[playerid]++;
SetPVarInt(playerid, "BusMoney", GetPVarInt(playerid, "BusMoney") + 70);
if(pPressed[playerid] == 3 || pPressed[playerid] == 10 || pPressed[playerid] == 20 || pPressed[playerid] == 32 || pPressed[playerid] == 35 || pPressed[playerid] == 40 || pPressed[playerid] == 46 || pPressed[playerid] == 53 || pPressed[playerid] == 56) e_type = 1;
else e_type = 0;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,e_type,BusCitySF[i][0],BusCitySF[i][1],BusCitySF[i][2],BusCitySF[i][3],BusCitySF[i][4],BusCitySF[i][5],5.0);
}
}
if(type == 3)
{
if(pPressed[playerid] == 7 || pPressed[playerid] == 10 || pPressed[playerid] == 18 || pPressed[playerid] == 24 || pPressed[playerid] == 32 || pPressed[playerid] == 39 || pPressed[playerid] == 51 || pPressed[playerid] == 64 || pPressed[playerid] == 71 || pPressed[playerid] == 79)
{
if(GetPVarInt(playerid, "BusStop") == 0)
{
SetPVarInt(playerid, "TimeBus", 11);
SendClientMessage(playerid, COLOR_GREEN, "Остановите автобус и подождите пассажиров!");
format(string, sizeof(string), "Внутригородской автобус отъезжает через 10 секунд");
ProxDetector(30.0, playerid, string, COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
}
else
{
if(pPressed[playerid] == 79) pPressed[playerid] = 0;
else pPressed[playerid]++;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,0,BusCityLV[i][0],BusCityLV[i][1],BusCityLV[i][2],BusCityLV[i][3],BusCityLV[i][4],BusCityLV[i][5],5.0);
SetPVarInt(playerid, "BusStop", 0);
}
}
else
{
pPressed[playerid]++;
SetPVarInt(playerid, "BusMoney", GetPVarInt(playerid, "BusMoney") + 60);
if(pPressed[playerid] == 7 || pPressed[playerid] == 10 || pPressed[playerid] == 18 || pPressed[playerid] == 24 || pPressed[playerid] == 32 || pPressed[playerid] == 39 || pPressed[playerid] == 51 || pPressed[playerid] == 64 || pPressed[playerid] == 71 || pPressed[playerid] == 79) e_type = 1;
else e_type = 0;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,e_type,BusCityLV[i][0],BusCityLV[i][1],BusCityLV[i][2],BusCityLV[i][3],BusCityLV[i][4],BusCityLV[i][5],5.0);
}
}
if(type == 4)
{
if(pPressed[playerid] == 0 || pPressed[playerid] == 8 || pPressed[playerid] == 45 || pPressed[playerid] == 48 || pPressed[playerid] == 52 || pPressed[playerid] == 86|| pPressed[playerid] == 96)
{
if(GetPVarInt(playerid, "BusStop") == 0)
{
SetPVarInt(playerid, "TimeBus", 11);
SendClientMessage(playerid, COLOR_GREEN, "Остановите автобус и подождите пассажиров!");
format(string, sizeof(string), "Автобус АвтоВокзал LS << >> Автошкола SF отъезжает через 10 секунд");
ProxDetector(30.0, playerid, string, COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
}
else
{
if(pPressed[playerid] == 95) pPressed[playerid] = 0;
else pPressed[playerid]++;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,0,BusSchool[i][0],BusSchool[i][1],BusSchool[i][2],BusSchool[i][3],BusSchool[i][4],BusSchool[i][5],5.0);
SetPVarInt(playerid, "BusStop", 0);
}
}
else
{
pPressed[playerid]++;
SetPVarInt(playerid, "BusMoney", GetPVarInt(playerid, "BusMoney") + 40);
if(pPressed[playerid] == 0 || pPressed[playerid] == 8 || pPressed[playerid] == 45 || pPressed[playerid] == 48 || pPressed[playerid] == 52 || pPressed[playerid] == 86|| pPressed[playerid] == 96) e_type = 1;
else e_type = 0;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,e_type,BusSchool[i][0],BusSchool[i][1],BusSchool[i][2],BusSchool[i][3],BusSchool[i][4],BusSchool[i][5],5.0);
}
}
if(type == 5)
{
if(pPressed[playerid] == 0 || pPressed[playerid] == 10 || pPressed[playerid] == 36 || pPressed[playerid] == 60 || pPressed[playerid] == 69)
{
if(GetPVarInt(playerid, "BusStop") == 0)
{
SetPVarInt(playerid, "TimeBus", 11);
SendClientMessage(playerid, COLOR_GREEN, "Остановите автобус и подождите пассажиров!");
format(string, sizeof(string), "Автобус АвтоВокзал LS << >> АвтоВокзал LV отъезжает через 10 секунд");
ProxDetector(30.0, playerid, string, COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
}
else
{
if(pPressed[playerid] == 69) pPressed[playerid] = 0;
else pPressed[playerid]++;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,0,BusLSLV[i][0],BusLSLV[i][1],BusLSLV[i][2],BusLSLV[i][3],BusLSLV[i][4],BusLSLV[i][5],5.0);
SetPVarInt(playerid, "BusStop", 0);
}
}
else
{
pPressed[playerid]++;
SetPVarInt(playerid, "BusMoney", GetPVarInt(playerid, "BusMoney") + 60);
if(pPressed[playerid] == 0 || pPressed[playerid] == 10 || pPressed[playerid] == 36 || pPressed[playerid] == 60 || pPressed[playerid] == 69) e_type = 1;
else e_type = 0;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,e_type,BusLSLV[i][0],BusLSLV[i][1],BusLSLV[i][2],BusLSLV[i][3],BusLSLV[i][4],BusLSLV[i][5],5.0);
}
}
if(type == 6)
{
if(pPressed[playerid] == 0 || pPressed[playerid] == 10 || pPressed[playerid] == 36 || pPressed[playerid] == 60 || pPressed[playerid] == 69)
{
if(GetPVarInt(playerid, "BusStop") == 0)
{
SetPVarInt(playerid, "TimeBus", 11);
SendClientMessage(playerid, COLOR_GREEN, "Остановите автобус и подождите пассажиров!");
format(string, sizeof(string), "Автобус АвтоВокзал LS << >> Заводы отъезжает через 10 секунд");
ProxDetector(30.0, playerid, string, COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
}
else
{
if(pPressed[playerid] == 69) pPressed[playerid] = 0;
else pPressed[playerid]++;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,0,BusLSZavodi[i][0],BusLSZavodi[i][1],BusLSZavodi[i][2],BusLSZavodi[i][3],BusLSZavodi[i][4],BusLSZavodi[i][5],5.0);
SetPVarInt(playerid, "BusStop", 0);
}
}
else
{
pPressed[playerid]++;
SetPVarInt(playerid, "BusMoney", GetPVarInt(playerid, "BusMoney") + 60);
if(pPressed[playerid] == 0 || pPressed[playerid] == 10 || pPressed[playerid] == 36 || pPressed[playerid] == 60 || pPressed[playerid] == 69) e_type = 1;
else e_type = 0;
new i = pPressed[playerid];
SetPlayerRaceCheckpoint(playerid,e_type,BusLSZavodi[i][0],BusLSZavodi[i][1],BusLSZavodi[i][2],BusLSZavodi[i][3],BusLSZavodi[i][4],BusLSZavodi[i][5],5.0);
}
}
}
После того как я добавил нажимаю компилировать, и павно компилирует мод за 3 секунды, и соответственно безрезультатно..
AMX не создаётся!
Помогите +++++ дам!
