ZooM | Mrforum

Need some help with spawn in multiple Traders

4 posts in this topic

Hello! I can't figure out what i'am doing wrong here... I get the first Trader to spawn in but not the other once! i do really need some help here! :)

Here is my initPlayerLocal.sqf

 

///////////////////////////////////////////////////////////////////////////////
// Static Objects
///////////////////////////////////////////////////////////////////////////////
#include "initServer.sqf"
[] execVM "addons\statusBar\statusbar.sqf";

if (!hasInterface || isServer) exitWith {};

//Your Traders go here


[
    "Exile_Trader_Equipment",
    "WhiteHead_19",
    ["InBaseMoves_Lean1"],
    [12150.2,9747.59,0],
    103.182
]
call ExileClient_object_trader_create;,


[
    "Exile_Trader_Hardware",
    "WhiteHead_17",
    ["InBaseMoves_SittingRifle1"],
    [12156.8,9765.73,0],
    153,636
]
call ExileClient_object_trader_create;,


[
    "Exile_Trader_Armory",
    "PersianHead_A3_02",
    ["InBaseMoves_SittingRifle1"],
    [12179.2,9758.2,0],
    236.818
]
call ExileClient_object_trader_create;,


[
    "Exile_Trader_Office",
    "GreekHead_A3_04",
    ["HubBriefing_scratch", "HubBriefing_stretch", "HubBriefing_think", "HubBriefing_lookAround1", "HubBriefing_lookAround2"],
    [12169.7,9744.14,0],
    284.545
]
call ExileClient_object_trader_create;,


[
    "Exile_Trader_Aircraft",
    "WhiteHead_17",
    ["LHD_krajPaluby"],
    [12043.1,12658.3,0],
    21.3637
]
call ExileClient_object_trader_create;

 Can you guys se anything that makes this not work?

 

Kind regards a newbie!

Share this post


Link to post
Share on other sites

153,636

Change that comma to a period

Edited by Jski

Share this post


Link to post
Share on other sites
Advertisement

Sorry! I needed to take away the coma from call ExileClient_object_trader_create;, to call ExileClient_object_trader_create;

 

and ofc the comma from 153.636 to a period! Thank you so mutch! :)

Edited by ZooM | Mrforum

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.