Cod2 bzmod function

Discussion in 'Questions' started by jose100, Mar 22, 2018.

  1. jose100

    jose100 New Member

    1
    0
    1
    Credits:
    8
    Hello,

    the thing is I have 13 keys of the same name "node" and I would like to change them for example on "richard" by using getentarray.

    {
    "origin" "1648 16 -272"
    "targetname" "node"
    "classname" "script_origin"
    }

    I did this but it seemed to be not correct

    main()
    {
    maps\mp\_load::main();
    richards = (getentarray("richard","targetname") [12]);
    }
    With "node" is always working, but with "richard" never. What could I try?
     

Share This Page