D:\BG-RP\samp03e_svr_win32\gamemodes\register.pwn(1869) : error 001: expected token: ";", but found "-identifier-"
D:\BG-RP\samp03e_svr_win32\gamemodes\register.pwn(1881) : error 001: expected token: ";", but found "-identifier-"
D:\BG-RP\samp03e_svr_win32\gamemodes\register.pwn(1892) : error 001: expected token: ";", but found "-identifier-"
D:\BG-RP\samp03e_svr_win32\gamemodes\register.pwn(1902) : error 001: expected token: ";", but found "-identifier-"
D:\BG-RP\samp03e_svr_win32\gamemodes\register.pwn(1911) : error 001: expected token: ";", but found "-identifier-"
D:\BG-RP\samp03e_svr_win32\gamemodes\register.pwn(1917) : error 001: expected token: ";", but found "-identifier-"
D:\BG-RP\samp03e_svr_win32\gamemodes\register.pwn(1923) : error 001: expected token: ";", but found "-identifier-"
D:\BG-RP\samp03e_svr_win32\gamemodes\register.pwn(1929) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(PlayerInfo[playerid][CarLic] == 0)
{
RemovePlayerFromVehicle(playerid)
SendClientMessage(playerid, COLOR_RED, "Access Denied.");
SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти");
SendClientMessage(playerid, COLOR_RED, "*Лиценс за Автомобили");
SendClientMessage(playerid, COLOR_RED, "*Лиценс за Тежко-товарни камиони");
SendClientMessage(playerid, COLOR_RED, "*Лиценс за За Въздушни средства");
SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети");
SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш");
return 0;
}
else if(PlayerInfo[playerid][TruckLic] == 0)
{
RemovePlayerFromVehicle(playerid)
SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти");
SendClientMessage(playerid, COLOR_RED, "*Лиценс за Тежко-товарни камиони");
SendClientMessage(playerid, COLOR_RED, "*Лиценс за За Въздушни средства");
SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети");
SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш");
return 0;
}
else if(PlayerInfo[playerid][HeliLic] == 0)
{
RemovePlayerFromVehicle(playerid)
SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти");
SendClientMessage(playerid, COLOR_RED, "*Лиценс за За Въздушни средства");
SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети");
SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш");
return 0;
}
else if(PlayerInfo[playerid][BikeLic] == 0)
{
RemovePlayerFromVehicle(playerid)
SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти");
SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети");
SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш");
return 0;
}
if(PlayerInfo[playerid][CarLic] == 1)
{
RemovePlayerFromVehicle(playerid)
SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш");
return 0;
}
else if(PlayerInfo[playerid][TruckLic] == 1)
{
RemovePlayerFromVehicle(playerid)
SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш");
return 0;
}
else if(PlayerInfo[playerid][HeliLic] == 1)
{
RemovePlayerFromVehicle(playerid)
SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш");
return 0;
}
else if(PlayerInfo[playerid][BikeLic] == 1)
{
RemovePlayerFromVehicle(playerid)
SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш");
return 0;
}
return 0;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(PlayerInfo[playerid][CarLic] == 0) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_RED, "Access Denied."); SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Автомобили"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Тежко-товарни камиони"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за За Въздушни средства"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети"); SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш"); return 0; } else if(PlayerInfo[playerid][TruckLic] == 0) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Тежко-товарни камиони"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за За Въздушни средства"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети"); SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш"); return 0; } else if(PlayerInfo[playerid][HeliLic] == 0) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за За Въздушни средства"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети"); SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш"); return 0; } else if(PlayerInfo[playerid][BikeLic] == 0) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети"); SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш"); return 0; } if(PlayerInfo[playerid][CarLic] == 1) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш"); return 0; } else if(PlayerInfo[playerid][TruckLic] == 1) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш"); return 0; } else if(PlayerInfo[playerid][HeliLic] == 1) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш"); return 0; } else if(PlayerInfo[playerid][BikeLic] == 1) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш"); return 0; } return 0; }
RemovePlayerFromVehicle(playerid)
Add ; at the end Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(PlayerInfo[playerid][CarLic] == 0) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_RED, "Access Denied."); SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Автомобили"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Тежко-товарни камиони"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за За Въздушни средства"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети"); SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш"); return 0; } else if(PlayerInfo[playerid][TruckLic] == 0) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Тежко-товарни камиони"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за За Въздушни средства"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети"); SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш"); return 0; } else if(PlayerInfo[playerid][HeliLic] == 0) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за За Въздушни средства"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети"); SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш"); return 0; } else if(PlayerInfo[playerid][BikeLic] == 0) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_RED, "*Ти незнаеш да караш още нужни са ти"); SendClientMessage(playerid, COLOR_RED, "*Лиценс за Мотоциклети"); SendClientMessage(playerid, COLOR_RED, "*Щот ги получиш от инструкторите ще можех да караш"); return 0; } if(PlayerInfo[playerid][CarLic] == 1) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш"); return 0; } else if(PlayerInfo[playerid][TruckLic] == 1) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш"); return 0; } else if(PlayerInfo[playerid][HeliLic] == 1) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш"); return 0; } else if(PlayerInfo[playerid][BikeLic] == 1) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "*Ти имаш лиценси и можеш да караш"); return 0; } return 0; } |
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(PlayerInfo[playerid][CarLic] == 0)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_RED, "Access Denied.");
SendClientMessage(playerid, COLOR_RED, "*?? ??????? ?? ????? ??? ????? ?? ??");
SendClientMessage(playerid, COLOR_RED, "*?????? ?? ??????????");
SendClientMessage(playerid, COLOR_RED, "*?????? ?? ?????-??????? ???????");
SendClientMessage(playerid, COLOR_RED, "*?????? ?? ?? ???????? ????????");
SendClientMessage(playerid, COLOR_RED, "*?????? ?? ???????????");
SendClientMessage(playerid, COLOR_RED, "*??? ?? ??????? ?? ????????????? ?? ????? ?? ?????");
return 0;
}
else if(PlayerInfo[playerid][TruckLic] == 0)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_RED, "*?? ??????? ?? ????? ??? ????? ?? ??");
SendClientMessage(playerid, COLOR_RED, "*?????? ?? ?????-??????? ???????");
SendClientMessage(playerid, COLOR_RED, "*?????? ?? ?? ???????? ????????");
SendClientMessage(playerid, COLOR_RED, "*?????? ?? ???????????");
SendClientMessage(playerid, COLOR_RED, "*??? ?? ??????? ?? ????????????? ?? ????? ?? ?????");
return 0;
}
else if(PlayerInfo[playerid][HeliLic] == 0)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_RED, "*?? ??????? ?? ????? ??? ????? ?? ??");
SendClientMessage(playerid, COLOR_RED, "*?????? ?? ?? ???????? ????????");
SendClientMessage(playerid, COLOR_RED, "*?????? ?? ???????????");
SendClientMessage(playerid, COLOR_RED, "*??? ?? ??????? ?? ????????????? ?? ????? ?? ?????");
return 0;
}
else if(PlayerInfo[playerid][BikeLic] == 0)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_RED, "*?? ??????? ?? ????? ??? ????? ?? ??");
SendClientMessage(playerid, COLOR_RED, "*?????? ?? ???????????");
SendClientMessage(playerid, COLOR_RED, "*??? ?? ??????? ?? ????????????? ?? ????? ?? ?????");
return 0;
}
if(PlayerInfo[playerid][CarLic] == 1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREEN, "*?? ???? ??????? ? ????? ?? ?????");
return 0;
}
else if(PlayerInfo[playerid][TruckLic] == 1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREEN, "*?? ???? ??????? ? ????? ?? ?????");
return 0;
}
else if(PlayerInfo[playerid][HeliLic] == 1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREEN, "*?? ???? ??????? ? ????? ?? ?????");
return 0;
}
else if(PlayerInfo[playerid][BikeLic] == 1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREEN, "*?? ???? ??????? ? ????? ?? ?????");
return 0;
}
return 0;
}
sorry for the text, that languages cannot be read on my comp . .
|