Sign in to follow this  
Followers 0
DIamond

Adding respect price to Purchasable items

1 post in this topic

Im woundering if anyone would share there code or help me out with this ,i noticed there aren't to many posts on this subject. Ik u have to edit the The 

ExileServer_system_trading_network_purchaseItemRequest.sqf 

 

	_salesRespect = getNumber (missionConfigFile >> "CfgExileArsenal" >> _itemClassName >> "respect");
	if (_salesRespect <= 0) then
	{
		throw 6;
	};
	_playerRespect = _playerObject getVariable ["ExileScore", 0];
	if (_playerRespect < _salesRespect) then
	{
		throw 7;
	};
	_playerRespect = _playerRespect - _salesRespect;
	_playerObject setVariable ["ExileScore", _playerRespect]

basicly what i have atm

Edited by DIamond

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.