StuntmanSlim

Traders Need Safe Zone?

5 posts in this topic

Hi do i need a safe zone for the traders to spawn.

Ive got this code but the person does not spawn what have i done wrong?

////////////////////////////////////////////////////////////////////////////
// Cuommunity Customs
///////////////////////////////////////////////////////////////////////////
[
	"Exile_Trader_CommunityCustoms",
	"WhiteHead_11",
    ["LHD_krajPaluby"],
	[16752.3,13657,0],
	0
]
call ExileClient_object_trader_create

once this goes in all the traders Disappears

Share this post


Link to post
Share on other sites

I am currently having this issue as well and I have safe zones set up. I am pretty sure you do not need safe zones to spawn traders. It sounds like you have traders spawning and them this code stops all traders from spawning? Can you post your init file so I can compare?

Share this post


Link to post
Share on other sites
Advertisement

Just init.sql?

if (!isDedicated) then {
    player setVariable ["humanity",0];
};

call compile preprocessFileLineNumbers "addons\UPSMON\scripts\Init_UPSMON.sqf";
call compile preprocessFile "addons\SHK_pos\shk_pos_init.sqf";

[] execVM "addons\SARGE\SAR_AI_init.sqf";

Share this post


Link to post
Share on other sites
call ExileClient_object_trader_create

You forgot a semi colon.

 

call ExileClient_object_trader_create;

is how it should look.

<snip>

Share this post


Link to post
Share on other sites
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.