! ???
#6

If you want to make a teleport with a car, use this code:

pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
        new State = GetPlayerState(playerid);
        if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
    {
        LinkVehicleToInterior(vehicleid,*interior id here);
        SetPlayerInterior(playerid,* interior id here);
        return SetVehiclePos(vehicleid,* position coords here);
    }
        SetPlayerPos(playerid,* position coords here);
        SetPlayerInterior(playerid,* interior id here) ;
        ResetPlayerWeapons(playerid);
Reply


Messages In This Thread
! ??? - by Mr_C30 - 15.06.2009, 18:16
Re: ! ??? - by Klutty - 15.06.2009, 18:18
Re: ! ??? - by Luka P. - 15.06.2009, 18:20
Re: ! ??? - by Mr_C30 - 15.06.2009, 18:21
Re: ! ??? - by Luka P. - 15.06.2009, 18:22
Re: ! ??? - by Klutty - 15.06.2009, 18:23
Re: ! ??? - by Weirdosport - 15.06.2009, 18:23
Re: ! ??? - by Mr_C30 - 15.06.2009, 18:29
Re: ! ??? - by Luka P. - 15.06.2009, 18:49

Forum Jump:


Users browsing this thread: 1 Guest(s)