Vehicle teleport
#1

Hello, I was having a problem with this.. I tried many ways and it failed.. I need to make it where it will teleport you if your in a vehicle.. Or on foot.

pawn Код:
if(strcmp("/vipgarage", cmdtext, true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid, 3.0, 1263.40527344,-1673.39611816,12.74134350))//Garage
        {
            SetPlayerPos(playerid, 1145.54235840,-1693.51977539,1587.66223145);
            SetPlayerInterior(playerid, 0);
            GameTextForPlayer( playerid, "You have Entered the VIP Garage!", 3000, 1 );
        }
        else if(IsPlayerInRangeOfPoint(playerid, 3.0, 1145.54235840,-1693.51977539,1587.66223145))//Room
        {
            SetPlayerPos(playerid, 1263.40527344,-1673.39611816,12.74134350);
            SetPlayerInterior(playerid, 0);
            GameTextForPlayer( playerid, "You have Exited the VIP Garage!", 3000, 1 );
        }
    return 1;
}
Reply


Messages In This Thread
Vehicle teleport - by Jacob_T_Harden - 04.02.2011, 04:03
Re: Vehicle teleport - by HyperZ - 04.02.2011, 04:06
Re: Vehicle teleport - by Jacob_T_Harden - 04.02.2011, 04:18
Re: Vehicle teleport - by HyperZ - 04.02.2011, 04:19
Re: Vehicle teleport - by Eeeh - 25.05.2011, 15:08
Re: Vehicle teleport - by Jay. - 25.05.2011, 15:10
Re: Vehicle teleport - by Eeeh - 25.05.2011, 15:30

Forum Jump:


Users browsing this thread: 4 Guest(s)