Something wrong?
#4

Here's the code on top of the 6669
pawn Код:
if(!ispassenger)
    {
        SetPlayerArmedWeapon(playerid, 0);
     /* else if(IsAPizzaCar(vehicleid))
        {
            if(PlayerInfo[playerid][pJob] != 21 && PlayerInfo[playerid][pJob2] != 21)
            {
                new Float:slx, Float:sly, Float:slz;
                GetPlayerPos(playerid, slx, sly, slz);
                SetPlayerPos(playerid, slx, sly, slz+1.3);
                PlayerPlaySound(playerid, 1130, slx, sly, slz+1.3);
                RemovePlayerFromVehicle(playerid);
                NOPCheck(playerid);
                SendClientMessageEx(playerid, COLOR_GRAD2, "You are not a Pizza Boy!");
            }
        }*/

        else if(IsAnAmbulance(vehicleid))
        {
            if(PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4)
            {
                if(LSFMDVehicles[13] == vehicleid && PlayerInfo[playerid][pRank] < 5)
                {
                    RemovePlayerFromVehicle(playerid);
                    new Float:slx, Float:sly, Float:slz;
                    GetPlayerPos(playerid, slx, sly, slz);
                    SetPlayerPos(playerid, slx, sly, slz);
                    NOPCheck(playerid);
                    SendClientMessageEx(playerid, COLOR_GRAD2, "Only ranks 5+ can drive this vehicle.");
                }
            }
            else
            {
                SendClientMessageEx(playerid,COLOR_GREY,"   You are not in the LSFMD!");
                RemovePlayerFromVehicle(playerid);
                new Float:slx, Float:sly, Float:slz;
                GetPlayerPos(playerid, slx, sly, slz);
                SetPlayerPos(playerid, slx, sly, slz);
                NOPCheck(playerid);
            }
        }
And I don't know what you mean by " Does this occur anywhere else in the script? "
Reply


Messages In This Thread
Something wrong? - by NealPeteros - 21.07.2016, 11:10
Re: Something wrong? - by NealPeteros - 21.07.2016, 11:58
Re: Something wrong? - by Threshold - 21.07.2016, 12:09
Re: Something wrong? - by NealPeteros - 21.07.2016, 12:20
Re: Something wrong? - by NealPeteros - 21.07.2016, 12:22
Re: Something wrong? - by NealPeteros - 21.07.2016, 13:20
Re: Something wrong? - by Sew_Sumi - 21.07.2016, 13:52
Re: Something wrong? - by NealPeteros - 21.07.2016, 13:55
Re: Something wrong? - by Sew_Sumi - 21.07.2016, 14:40
Re: Something wrong? - by Sew_Sumi - 22.07.2016, 02:45

Forum Jump:


Users browsing this thread: 1 Guest(s)