I have the appropriate .hpp files for the categories he sells. But when in the server, none of the trader including the one I added work, (no trader menu)
If I comment out the Tulga trader I put in my server trader.sqf the rest of the traders work.
I cant figure out where im going wrong or what I am missing. I have been reading tutorials and watching all sorts of videos for info on how to add a custom trader, but it always come back to this...
if anyone is willing to help we could use Teamspeak and team viewer for me to show you exactly what everything looks like.
Question
Saije
Okay So I have Created I new trader, sort of.
I went into my Server Mission.sqf created the new unit at the location I wanted
_unit_134 = objNull; //Tulga Dealer
if (true) then
{
_this = createAgent ["RU_Soldier_Crew_DZ", [12878.1,4437.06,0.00143433], [], 0, "CAN_COLLIDE"];
_unit_134 = _this;
_this setDir 349.301;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
Then I went into my server Trader.sqf and added the trader to the bottom. and added his skin to the top of the file.
// Tulga Trader
menu_RU_Soldier_Crew_DZ = [
[["Weapons",914],["Ammo",915],["Vehicles",916],["Thermals",917],["Rockets",693]"Rocket Ammo",694]],
[],
"neutral"
];
I have the appropriate .hpp files for the categories he sells. But when in the server, none of the trader including the one I added work, (no trader menu)
If I comment out the Tulga trader I put in my server trader.sqf the rest of the traders work.
I cant figure out where im going wrong or what I am missing. I have been reading tutorials and watching all sorts of videos for info on how to add a custom trader, but it always come back to this...
if anyone is willing to help we could use Teamspeak and team viewer for me to show you exactly what everything looks like.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now