21.11.2010, 12:13
It's because you are checking if the player is near some coordination.
Check with this.
Also,m you want to speed up the vehicle as soon he reaches a position?
Or you want to speed up the vehicle when he teleports?
Check with this.
pawn Код:
IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
SetVehicleVelocity(GetPlayerVehicleID(playerid), x * 6, y * 6, z * 6);
}
Or you want to speed up the vehicle when he teleports?