Jump to content

Doldox

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Doldox

  1. Hello

    i would ask You for help :) I add coins into AI (theduke option from few post above - it's working perfectly!) on kill but it would be cool when person who killed AI got some message with amount of coins he got for kill. I tried add info in script in file fn_countkills.sqf by adding one line:

     

    if (DZAI_moneyGain) then {


        _cash = _killer getVariable["headShots",0];
        systemChat format ['You took coins '_cash];
        _cash = _cash + _money;
        _killer setVariable["headShots",_cash,true];
        
    };

    Not lucky - not working, no msg :)

     

    For me fine would be when person who killed AI got Message: "(Unit name) was killed" add here something like this: "(Unit name) was killed. You gain XX coins bounty." 

     

    I tried to find in files/code place where is line for this (Unit name was killed) and i didnt found it :( Could some one show me? Or help with above?

     

    Of course above is only for DZAI, for Wicked AI isnt any message for killing, it's possible to add this too? 

     

    Im using only epoch server files, 1.0.5.1,

    Wicked AI 2.2.0 - https://epochmod.com/forum/topic/15671-release-wicked-ai-220/

    Single Currency Banking 1.1 - https://epochmod.com/forum/topic/15177-release-single-currency-banking-11/

    DZAI - http://opendayz.net/threads/dzai-visual-installation-guide.18447/

     

×
×
  • Create New...