[HELP] Teleport Vehicles?
#3

Or this one..this works.i tested:
Код:
if(!strcmp(cmdtext, "/entrance", true))
        {
        if(IsPlayerInAnyVehicle(playerid))
        {
            SetVehiclePos(GetPlayerVehicleID(playerid), 2857.31,-1960.78,10.9376); //i have my own coordinates but u can change!
            SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
            LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
        }
        else
        {
            SetPlayerPos(playerid, 2857.31,-1960.78,10.9376); //same goes here
            SetPlayerFacingAngle(playerid, 0.0);
        }
        SetPlayerInterior(playerid, 0);
        SendClientMessage(playerid, COLOR_LIGHTBLUE, " Welcome to blah blah!");
        return 1;
Reply


Messages In This Thread
[HELP] Teleport Vehicles? - by Fredden1993 - 28.11.2010, 11:13
Re: [HELP] Teleport Vehicles? - by knackworst - 28.11.2010, 11:17
Re: [HELP] Teleport Vehicles? - by Abraham2nd - 28.11.2010, 11:46

Forum Jump:


Users browsing this thread: 1 Guest(s)