Teleport-Car wont come
#4

That means you need to explain more about your situation.
Anyway I guess you meant the car isn't teleporting with the player, am I right?

Try this:
pawn Код:
new Vehicle;
if(strcmp(cmd,"/nascar", true) == 0)
{
    SetPlayerPos(playerid,1433.4521,1504.1399,10.8203);
    if(IsPlayerInAnyVehicle(playerid)) {
    Vehicle = GetPlayerVehicleID(playerid); SetVehiclePos(Vehicle,1433.4521,1504.1399,10.8203);
    PutPlayerInVehicle(Vehicle); }
    return 1;
}

if(strcmp(cmd,"/sf", true) == 0)
{
    SetPlayerPos(playerid,-1898.6420,243.1353,41.0469);
    if(IsPlayerInAnyVehicle(playerid)) {
    Vehicle = GetPlayerVehicleID(playerid); SetVehiclePos(Vehicle,-1898.6420,243.1353,41.0469);
    PutPlayerInVehicle(Vehicle); }
    return 1;
}
Reply


Messages In This Thread
Teleport-Car wont come - by RubM - 26.01.2012, 16:27
Re: Teleport-Car wont come - by T0pAz - 26.01.2012, 16:30
Re: Teleport-Car wont come - by RubM - 26.01.2012, 16:32
Re: Teleport-Car wont come - by [XST]O_x - 26.01.2012, 16:35
Re: Teleport-Car wont come - by MP2 - 26.01.2012, 16:35
Re: Teleport-Car wont come - by RubM - 26.01.2012, 16:37
Re: Teleport-Car wont come - by [XST]O_x - 26.01.2012, 16:39
Re: Teleport-Car wont come - by Twix[KDZ] - 26.01.2012, 16:39
Re: Teleport-Car wont come - by MP2 - 26.01.2012, 16:42
Re: Teleport-Car wont come - by [XST]O_x - 26.01.2012, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)