Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0

3 answers to this question

Recommended Posts

  • 0

Тоже самое! немогу разобраться как убрать передачу денег банкиру!

Share this post


Link to post
Share on other sites



  • 0

Тоже самое! немогу разобраться как убрать передачу денег банкиру!

Наверно надо в fn_selfActions искать, вот пример: Банк 4.0

 

//Banking

if(_typeOfCursorTarget in Bank_Object and (player distance _cursorTarget < 3)) then {

if (s_bank_dialog3 < 0) then {

s_bank_dialog3 = player addAction ["Банк", "Custom\Singlecurrency\actions\atm_dialog.sqf",_cursorTarget, 3, true, true, "", ""];

};

if (s_bank_dialog4 < 0) then {

s_bank_dialog4 = player addAction ["Перевод денег", "Custom\Singlecurrency\transfer\transfer_dialog.sqf",_cursorTarget, 3, true, true, "", "];

};

} else {

player removeAction s_bank_dialog3;

s_bank_dialog3 = -1;

player removeAction s_bank_dialog4;

s_bank_dialog4 = -1;

};

 

_banker = _cursorTarget getVariable["BankerBot",0];

 

if((_banker == 1) and (player distance _cursorTarget < 3)) then {

if (s_bank_dialog5 < 0) then {

s_bank_dialog5 = player addAction ["Банкир", "Custom\Singlecurrency\actions\atm_dialog.sqf",_cursorTarget, 3, true, true, "", ""];

};

if (s_bank_dialog6 < 0) then {

s_bank_dialog6 = player addAction ["Перевод денег", "Custom\Singlecurrency\transfer\transfer_dialog.sqf",_cursorTarget, 3, true, true, "", "];

};

} else {

player removeAction s_bank_dialog5;

s_bank_dialog5 = -1;

player removeAction s_bank_dialog6;

s_bank_dialog6 = -1;

};

 

Или это:

 

//Give Money

if (_isMan and _isAlive and !_isZombie and !_isAnimal and !(_traderType in serverTraders)) then {

if (s_givemoney_dialog < 0) then {

s_givemoney_dialog = player addAction [format["Дать денег %1", (name _cursorTarget)], "Custom\Singlecurrency\actions\give_player_dialog.sqf",_cursorTarget, 3, true, true, "", ""];

};

} else {

player removeAction s_givemoney_dialog;

s_givemoney_dialog = -1;

};

 

Edited by Ник (see edit history)

Share this post


Link to post
Share on other sites
  • 0

Тоже самое! немогу разобраться как убрать передачу денег банкиру!

А, что ты сделал, чтобы разобраться?

Не могу разобраться - означает какое либо проведенное действие(ряд действий), не принесших результата, для данных действий необходимы - минимальные знания - где расположен(ы) скрипты, и минимальное понимание работы скриптов.

Наверное с бубном танцевал?

Судя по примитивности проблемы, - нефиг нам лапшу вешать, - так и писал бы - "помогите - ноль в скриптах, - в какой строке отключить?"

Edited by NoNameUltima (see edit history)

Share this post


Link to post
Share on other sites

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

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.