06.07.2013, 18:18
When I teleport back from that interior and use that command again, it works, which made me assume that the interior needs to load before putting player in vehicle. So this is the only way I could make it work:
Does anybody know how to increase ping on a local network? Maybe spamming my network with useless packages?
pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
RemovePlayerFromVehicle(playerid);
SetPlayerInterior(playerid,15);
SetPlayerPos(playerid, -1488.8818,950.7721,1036.4448);
LinkVehicleToInterior(vehicleid, 15);
SetVehiclePos(vehicleid, -1488.8818,950.7721,1036.4448);
SetTimerEx("TeleTimer", 700, false, "dd", playerid, vehicleid);
forward TeleTimer(playerid, vehicleid);
public TeleTimer(playerid, vehicleid) return PutPlayerInVehicle(playerid, vehicleid, 0);