Need help with HouseCars
#1

I have just been on the popular trucking server Truckmania for over a year now and the question I would like to ask is that...

On the server there is a housing system with HouseCars, however unlike any other server the cars will stay on the server even when the user has gone offline Like the image Shows below. What I would like to know is how do they stay online or is there a code I can use.

Note: The player who owns this house WAS offline.

Thank You Sam789
Reply
#2

They are probably stored in the house file. So house cars stay online as the house does
Reply
#3

But when I had a house with Washington (Amazing) I just did /park and it would always stay online.

So how do you program the server to save parked cars to the housefile
Reply
#4

It will be more easy if you show us your house system.
Reply
#5

Ok this is my file for my mansion...

Dont read the whole thing just look at the first vehicle (BMX 481) and see if there is a way of keeping the vehicles online 24/7

HouseName TomMan's House
HouseX 254.420410
HouseY -1367.184326
HouseZ 53.109375
HouseLevel 9
HouseMaxLevel 10
HousePrice 3000000
Owned Yes
Owner TomMan7531
Insurance 1
[Vehicle]
VehicleModel 481
Fuel 4033
VehiclePaintJob 0
VehicleSpoiler 0
VehicleHood 0
VehicleRoof 0
VehicleSideSkirt 0
VehicleLamps 0
VehicleNitro 0
VehicleExhaust 0
VehicleWheels 0
VehicleStereo 0
VehicleHydraulics 0
VehicleFrontBumper 0
VehicleRearBumper 0
VehicleVentRight 0
VehicleVentLeft 0
Color1 18
Color2 -1
VehicleX 257.223785
VehicleY -1372.793579
VehicleZ 52.622886
VehicleAngle 306.373596
Clamped No
[/Vehicle]
[Vehicle]
VehicleModel 545
Fuel 3501
VehiclePaintJob 0
VehicleSpoiler 0
VehicleHood 0
VehicleRoof 0
VehicleSideSkirt 0
VehicleLamps 0
VehicleNitro 0
VehicleExhaust 0
VehicleWheels 1074
VehicleStereo 1086
VehicleHydraulics 0
VehicleFrontBumper 0
VehicleRearBumper 0
VehicleVentRight 0
VehicleVentLeft 0
Color1 86
Color2 255
VehicleX 268.711151
VehicleY -1373.920898
VehicleZ 52.923122
VehicleAngle 67.873886
Clamped No
[/Vehicle]
[Vehicle]
VehicleModel 520
Fuel 2785
VehiclePaintJob 0
VehicleSpoiler 0
VehicleHood 0
VehicleRoof 0
VehicleSideSkirt 0
VehicleLamps 0
VehicleNitro 0
VehicleExhaust 0
VehicleWheels 0
VehicleStereo 0
VehicleHydraulics 0
VehicleFrontBumper 0
VehicleRearBumper 0
VehicleVentRight 0
VehicleVentLeft 0
Color1 -1
Color2 -1
VehicleX 250.150405
VehicleY -1372.474121
VehicleZ 61.609741
VehicleAngle 34.997055
Clamped No
[/Vehicle]
[Vehicle]
VehicleModel 421
Fuel 4009
VehiclePaintJob 0
VehicleSpoiler 0
VehicleHood 0
VehicleRoof 0
VehicleSideSkirt 0
VehicleLamps 0
VehicleNitro 0
VehicleExhaust 1019
VehicleWheels 1098
VehicleStereo 1086
VehicleHydraulics 1087
VehicleFrontBumper 0
VehicleRearBumper 0
VehicleVentRight 0
VehicleVentLeft 0
Color1 0
Color2 255
VehicleX 251.585372
VehicleY -1359.029052
VehicleZ 52.956630
VehicleAngle 304.958801
Clamped No
[/Vehicle]
[Vehicle]
VehicleModel 429
Fuel 3193
VehiclePaintJob 0
VehicleSpoiler 0
VehicleHood 0
VehicleRoof 0
VehicleSideSkirt 0
VehicleLamps 0
VehicleNitro 0
VehicleExhaust 0
VehicleWheels 0
VehicleStereo 0
VehicleHydraulics 0
VehicleFrontBumper 0
VehicleRearBumper 0
VehicleVentRight 0
VehicleVentLeft 0
Color1 3
Color2 3
VehicleX 249.364974
VehicleY -1355.474243
VehicleZ 52.788524
VehicleAngle 303.908355
Clamped No
[/Vehicle]
[Vehicle]
VehicleModel 409
Fuel 4562
VehiclePaintJob 0
VehicleSpoiler 0
VehicleHood 0
VehicleRoof 0
VehicleSideSkirt 0
VehicleLamps 0
VehicleNitro 0
VehicleExhaust 0
VehicleWheels 0
VehicleStereo 0
VehicleHydraulics 0
VehicleFrontBumper 0
VehicleRearBumper 0
VehicleVentRight 0
VehicleVentLeft 0
Color1 -1
Color2 -1
VehicleX 267.677215
VehicleY -1358.852783
VehicleZ 53.370468
VehicleAngle 30.219400
Clamped No
[/Vehicle]
[Vehicle]
VehicleModel 565
Fuel 1776
VehiclePaintJob 1
VehicleSpoiler 1050
VehicleHood 0
VehicleRoof 1053
VehicleSideSkirt 1047
VehicleLamps 0
VehicleNitro 1010
VehicleExhaust 1046
VehicleWheels 1083
VehicleStereo 1086
VehicleHydraulics 1087
VehicleFrontBumper 1153
VehicleRearBumper 1151
VehicleVentRight 0
VehicleVentLeft 0
Color1 1
Color2 255
VehicleX 270.433349
VehicleY -1369.914794
VehicleZ 52.730785
VehicleAngle 69.204338
Clamped No
[/Vehicle]
[Vehicle]
VehicleModel 572
Fuel 4690
VehiclePaintJob 0
VehicleSpoiler 0
VehicleHood 0
VehicleRoof 0
VehicleSideSkirt 0
VehicleLamps 0
VehicleNitro 0
VehicleExhaust 0
VehicleWheels 0
VehicleStereo 0
VehicleHydraulics 0
VehicleFrontBumper 0
VehicleRearBumper 0
VehicleVentRight 0
VehicleVentLeft 0
Color1 16
Color2 -1
VehicleX 240.362731
VehicleY -1402.163452
VehicleZ 52.689296
VehicleAngle 6.700314
Clamped No
[/Vehicle]
[Vehicle]
VehicleModel 522
Fuel 2213
VehiclePaintJob 0
VehicleSpoiler 0
VehicleHood 0
VehicleRoof 0
VehicleSideSkirt 0
VehicleLamps 0
VehicleNitro 0
VehicleExhaust 0
VehicleWheels 0
VehicleStereo 0
VehicleHydraulics 0
VehicleFrontBumper 0
VehicleRearBumper 0
VehicleVentRight 0
VehicleVentLeft 0
Color1 6
Color2 0
VehicleX 263.727752
VehicleY -1378.241821
VehicleZ 52.682693
VehicleAngle 345.746337
Clamped No
[/Vehicle]
Reply
#6

You have to remove the code that deletes the vehicle when player disconnects.
Reply
#7

were is the code?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)