[HELP] Teleports cmd help plz [please]
#6

pawn Код:
CMD:lvair(playerid, params[])
{
    new id, Float:X,Float:Y,Float:Z;
    new veh = GetPlayerVehicleID(playerid);
    new Interior = GetPlayerInterior(id);
    if(IsPlayerInAnyVehicle(playerid))
    {
        SetVehiclePos(veh, 1509.1740,1811.2737,10.3846);
        LinkVehicleToInterior(veh,Interior);
        PutPlayerInVehicle(playerid, veh, 0);
    }
    SetPlayerPos(playerid, 1537.9845,1839.4662,10.9263);
    return 1;
}
EDIT: he wants to put the player inside the vehicle when teleported. I think...
Reply


Messages In This Thread
[HELP] Teleports cmd help plz [please] - by SpikY_ - 15.09.2014, 10:36
Re: [HELP] Teleports cmd help plz [please] - by KayJ - 15.09.2014, 10:55
Re : [HELP] Teleports cmd help plz [please] - by SpikY_ - 15.09.2014, 11:02
Re: Re : [HELP] Teleports cmd help plz [please] - by KayJ - 15.09.2014, 11:08
Re : [HELP] Teleports cmd help plz [please] - by SpikY_ - 15.09.2014, 11:15
Re: [HELP] Teleports cmd help plz [please] - by IamPRO - 15.09.2014, 11:16
Re: [HELP] Teleports cmd help plz [please] - by KayJ - 15.09.2014, 11:20
Re : [HELP] Teleports cmd help plz [please] - by SpikY_ - 15.09.2014, 11:22
Re : Re: [HELP] Teleports cmd help plz [please] - by SpikY_ - 15.09.2014, 11:24
Re: [HELP] Teleports cmd help plz [please] - by IamPRO - 15.09.2014, 11:26

Forum Jump:


Users browsing this thread: 1 Guest(s)