Restructure (unfinished)
This commit is contained in:
@@ -160,11 +160,13 @@ function onLocalPlayerEnteredVehicle(event, vehicle, seat) {
|
||||
|
||||
sendNetworkEventToServer("vrr.onPlayerEnterVehicle", getVehicleForNetworkEvent(vehicle), seat);
|
||||
|
||||
if(inVehicleSeat == 0) {
|
||||
inVehicle.engine = false;
|
||||
if(!inVehicle.engine) {
|
||||
parkedVehiclePosition = inVehicle.position;
|
||||
parkedVehicleHeading = inVehicle.heading;
|
||||
if(areServerElementsSupported()) {
|
||||
if(inVehicleSeat == 0) {
|
||||
inVehicle.engine = false;
|
||||
if(!inVehicle.engine) {
|
||||
parkedVehiclePosition = inVehicle.position;
|
||||
parkedVehicleHeading = inVehicle.heading;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,16 @@
|
||||
<title>Connected RP: Login</title>
|
||||
<style type="text/css" rel="stylesheet">
|
||||
.input-box
|
||||
{
|
||||
font-family: 'Roboto';
|
||||
font-size: 14px;
|
||||
border-style: solid;
|
||||
border-colour: #0066AA;
|
||||
border-radius: 2px;
|
||||
color: #0066AA;
|
||||
}
|
||||
|
||||
.button
|
||||
{
|
||||
font-family: "Roboto";
|
||||
font-size: 14px;
|
||||
@@ -14,5 +24,8 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img src="server-logo.png" />
|
||||
<input type="password" placeholder="Password" id="login_input_password" />
|
||||
<button class="button" id="login_input_submit">LOGIN</button>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user