BetterDeadThanZed

initServer.sqf problem

6 posts in this topic

I am working on custom traders. As part of that, I'm starting with a fresh initServer.sqf and I'm placing objects, starting with signs in the trader cities. The following is the code I've got in place so far:

_objects = 
[
	["Exile_Sign_Food",[5284.92, 6159.55, -1.55386],238.714,0,0,false],
	["Exile_Sign_Hardware_Small",[5308.78, 6141.72, -0.909286],129.429,0,0,false],
	["Exile_Sign_Armory",[5314.64, 6160.39, -0.506622],38.1429,0,0,false]
];

{
    private ["_object"];

    _object = (_x select 0) createVehicleLocal [0,0,0];
    _object setDir (_x select 2);
    _object setPosATL (_x select 1);
    _object enableSimulation true; // :)
}
forEach _objects;

I've repacked my pbo and uploaded it, but none of the signs in that code appear. The server and client logs do not indicate any problems. Does anyone have any suggestions or ideas?

Share this post


Link to post
Share on other sites
Advertisement
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.