OMG i need help
#4

pawn Код:
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 . .
Reply


Messages In This Thread
OMG i need help - by rumen98 - 27.07.2012, 14:33
Re: OMG i need help - by TheDeath - 27.07.2012, 14:36
Re: OMG i need help - by rumen98 - 27.07.2012, 14:38
Re: OMG i need help - by Devilxz97 - 27.07.2012, 14:39
Re: OMG i need help - by TheDeath - 27.07.2012, 14:46

Forum Jump:


Users browsing this thread: 1 Guest(s)