Tp with car...
#4

Quote:
Originally Posted by Chris_Morrison
Посмотреть сообщение
You need to setvehiclepos
like this:
pawn Код:
if (GetPlayerState(playerid) == 2) // The usage of GetPlayerState is not necessary, as you can use IsPlayerInAnyVehicle
                {
                    new tmpcar = GetPlayerVehicleID(playerid);
                    SetVehiclePos(tmpcar, Coordinates here);
                    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                }
or
pawn Код:
if(IsPlayerInAnyVehicle(playerid) == 1)
{
    new car = GetPlayerVehicleID(playerid);
    SetVehiclePos(car, /* Coordinates */);
}
Reply


Messages In This Thread
Tp with car... - by viddo - 03.03.2012, 11:34
Re: Tp with car... - by Chris_Morrison - 03.03.2012, 11:37
Re: Tp with car... - by viddo - 03.03.2012, 12:41
Re: Tp with car... - by Max_Coldheart - 03.03.2012, 12:54
Re: Tp with car... - by Nuke547 - 03.03.2012, 13:42
Re: Tp with car... - by viddo - 03.03.2012, 14:27

Forum Jump:


Users browsing this thread: 3 Guest(s)