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

Поставил в торговых городах банкира, все работает, но как отключить надпись "Дать денег ...", в настройках NPC функция enableSimulation false; есть.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Дело было в замене класса банкира

Share this post


Link to post
Share on other sites



  • 0

искать где у тебя прописана эта функция и ставить в исключение скин банкира к примеру.

 

А вообще подобная тема уже была и разжевана.


http://s-platoon.ru/index.php?/topic/4766-npc-bankir/?hl=%2Bgive+%2Bmoney#entry46341

 

вот пример как должно быть правильно

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["Give Money to %1", (name _cursorTarget)], "ZSC\actions\give_player_dialog.sqf",_cursorTarget, 3, true, true, "", ""];
};
} else {
player removeAction s_givemoney_dialog;
s_givemoney_dialog = -1;
};
Edited by RedLink (see edit history)

Share this post


Link to post
Share on other sites
  • 0

проще добавить бота в список трейдеров.

Share this post


Link to post
Share on other sites
  • 0

По сути так и делается по хорошему. В вопросе ТС это не указано, поэтому дал немного развернутый вариант.

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.