Vilayer custom buildings

MikeOnPC

New Member
Hello, i create some custom buildings and when i log in to the server, custom buildings are not here.
I have vilayer hosting.

init.sqf code: [] execVM "buildings\test.sqf";

And test.sqf :
if (isServer) then {

_vehicle_10 = objNull;
if (true) then
{
_this = createVehicle ["Land_A_GeneralStore_01a", [4565.5093, 2612.7202, 0.1989359], [], 0, "CAN_COLLIDE"];
_vehicle_10 = _this;
_this setDir 77.29483;
_this setPos [4565.5093, 2612.7202, 0.1989359];
};
 
You are missing a closing bracket.

Should be
Code:
    _this setPos [4565.5093, 2612.7202, 0.1989359];
    };
};
 
Back
Top