[FilterScript] Essentials [17.04.2013]
#4

Код:
        if (IsPlayerInAnyVehicle(playerid))
        {
                SetVehiclePos(GetPlayerVehicleID(playerid), LocX,LocY,LocZ);
                LinkVehicleToInterior(GetPlayerVehicleID(playerid), InteriorID);
        }
        if (!IsPlayerInAnyVehicle(playerid))
        {
                SetVehiclePos(GetPlayerVehicleID(playerid), LocX,LocY,LocZ);
                SetPlayerInterior(playerid, InteriorID);
        }
Why lol?

Код:
        if (IsPlayerInAnyVehicle(playerid))
        {
                SetVehiclePos(GetPlayerVehicleID(playerid), LocX,LocY,LocZ);
                LinkVehicleToInterior(GetPlayerVehicleID(playerid), InteriorID);
        }
        else
        {
                SetVehiclePos(GetPlayerVehicleID(playerid), LocX,LocY,LocZ);
                SetPlayerInterior(playerid, InteriorID);
        }
you call two times the same native
Reply


Messages In This Thread
Essentials [17.04.2013] - by [Ro]DuReX - 17.04.2013, 04:16
Re: Essentials [17.04.2013] - by Pottus - 17.04.2013, 05:05
Re: Essentials [17.04.2013] - by [Ro]DuReX - 17.04.2013, 13:07
Re: Essentials [17.04.2013] - by ReVo_ - 17.04.2013, 13:11
Re: Essentials [17.04.2013] - by -CaRRoT - 17.04.2013, 13:16
Re: Essentials [17.04.2013] - by [Ro]DuReX - 17.04.2013, 13:22
Re: Essentials [17.04.2013] - by ReVo_ - 17.04.2013, 13:45
Re: Essentials [17.04.2013] - by Red_Dragon. - 17.04.2013, 13:55
Re: Essentials [17.04.2013] - by NicholasA - 17.04.2013, 14:37
Re: Essentials [17.04.2013] - by [Ro]DuReX - 17.04.2013, 19:25

Forum Jump:


Users browsing this thread: 2 Guest(s)