Im getting code 13 when trying to buy a Truck from the vehicle trader
i have The MAS vehicles added to the traders with prices and rep showing up perfectly they are added to the traders correctly
however everytime i try to buy one it throws me code 13 contact a admin after looking in the ExileServer_system_trading_network_purchaseVehicleRequest.sqf i found the code 13 and i tried adjusting the spawn radius
Looking at : if (_vehicleclass iskindof "ship") then
should it say LAND? or AIR? i really am stumped on this and i cant get any of my new vehicles to spawn
Im getting code 13 when trying to buy a Truck from the vehicle trader
i have The MAS vehicles added to the traders with prices and rep showing up perfectly they are added to the traders correctly
however everytime i try to buy one it throws me code 13 contact a admin after looking in the ExileServer_system_trading_network_purchaseVehicleRequest.sqf i found the code 13 and i tried adjusting the spawn radius
Looking at : if (_vehicleclass iskindof "ship") then
should it say LAND? or AIR? i really am stumped on this and i cant get any of my new vehicles to spawn
if (_vehicleClass isKindOf "Ship") then { _position = [(getPosATL _playerObject), 80, 10] call ExileClient_util_world_findWaterPosition; if (_position isEqualTo []) then { throw 13; }; _vehicleObject = [_vehicleClass, _position, (random 360), false, _pinCode] call ExileServer_object_vehicle_createPersistentVehicle; } else { _position = (getPos _playerObject) findEmptyPosition [10, 400, _vehicleClass]; if (_position isEqualTo []) then { throw 13; }; _vehicleObject = [_vehicleClass, _position, (random 360), true, _pinCode] call ExileServer_object_vehicle_createPersistentVehicle;UPDATE SOLVED BY : hogansheroes
Thanks so much to hogansheroes i have figured out I had messed up in a line of code in my Traders
Edited by ForsvinnaShare this post
Link to post
Share on other sites